aboutsummaryrefslogtreecommitdiff
path: root/src/tool_libinfo.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2013-06-10 23:42:48 +0200
committerDaniel Stenberg <daniel@haxx.se>2013-06-10 23:42:48 +0200
commit7b97f03f09537fb488cbeda28767aa478618745c (patch)
treef4f95c13bd387d9f23949afaa9ab33ebc5f7b7c8 /src/tool_libinfo.h
parentce362e8eb9c6fe8600058c7b88f40a83b0af1794 (diff)
cert_stuff: avoid double free in the PKCS12 code
In the pkcs12 code, we get a list of x509 records returned from PKCS12_parse but when iterating over the list and passing each to SSL_CTX_add_extra_chain_cert() we didn't also properly remove them from the "stack", which made them get freed twice (both in sk_X509_pop_free() and then later in SSL_CTX_free). This isn't really documented anywhere... Bug: http://curl.haxx.se/bug/view.cgi?id=1236 Reported-by: Nikaiw
Diffstat (limited to 'src/tool_libinfo.h')
0 files changed, 0 insertions, 0 deletions