Merge remote-tracking branch 'origin/topic/robin/clone-cycles'

* origin/topic/robin/clone-cycles:
  GH-293: Protect copy() against reference cycles.
This commit is contained in:
Jon Siwek 2019-06-04 10:30:21 -07:00
commit a388f51eaa
9 changed files with 69 additions and 16 deletions

View file

@ -483,7 +483,7 @@ Val* X509Val::DoClone(CloneState* state)
if ( certificate )
copy->certificate = X509_dup(certificate);
return copy;
return state->NewClone(this, copy);
}
::X509* X509Val::GetCertificate() const