Menu

#69 Segmentation fault in SSLCertificates::FreeDERVector(derVect)

0.20
open
nobody
None
5
2014-09-15
2014-09-15
tbeu
No

According to https://www.openssl.org/docs/crypto/d2i_X509.html#WARNINGS a temporary buffer must be used for second argument of d2i_X509. The attached patch fixes the segmentation fault in subsequent call of OPENSSL_free from SSLCertificates::FreeDERVector(derVect).

1 Attachments

Discussion