1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 20:15:03 -05:00

- Andre Guibert de Bruet found a call to a OpenSSL function that didn't check

for a failure properly.
This commit is contained in:
Daniel Stenberg 2009-05-27 21:15:38 +00:00
parent bf085e2c4b
commit eecb713616
3 changed files with 8 additions and 2 deletions

View File

@ -10,6 +10,9 @@ Daniel Stenberg (27 May 2009)
- Frank McGeough provided a small OpenSSL #include fix to make libcurl compile - Frank McGeough provided a small OpenSSL #include fix to make libcurl compile
fine with Nokia 5th edition 1.0 SDK for Symbian. fine with Nokia 5th edition 1.0 SDK for Symbian.
- Andre Guibert de Bruet found a call to a OpenSSL function that didn't check
for a failure properly.
Daniel Stenberg (25 May 2009) Daniel Stenberg (25 May 2009)
- bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointed - bug report #2796358 (http://curl.haxx.se/bug/view.cgi?id=2796358) pointed
out that the cookie parser would leak memory when it parses cookies that are out that the cookie parser would leak memory when it parses cookies that are

View File

@ -24,6 +24,6 @@ This release includes the following known bugs:
This release would not have looked like this without help, code, reports and This release would not have looked like this without help, code, reports and
advice from friends like these: advice from friends like these:
Kamil Dudka, Caolan McNamara, Frank McGeough Kamil Dudka, Caolan McNamara, Frank McGeough, Andre Guibert de Bruet
Thanks! (and sorry if I forgot to mention someone) Thanks! (and sorry if I forgot to mention someone)

View File

@ -1789,11 +1789,14 @@ static int X509V3_ext(struct SessionHandle *data,
for (i=0; i<sk_X509_EXTENSION_num(exts); i++) { for (i=0; i<sk_X509_EXTENSION_num(exts); i++) {
ASN1_OBJECT *obj; ASN1_OBJECT *obj;
X509_EXTENSION *ext = sk_X509_EXTENSION_value(exts, i); X509_EXTENSION *ext = sk_X509_EXTENSION_value(exts, i);
BIO *bio_out = BIO_new(BIO_s_mem());
BUF_MEM *biomem; BUF_MEM *biomem;
char buf[512]; char buf[512];
char *ptr=buf; char *ptr=buf;
char namebuf[128]; char namebuf[128];
BIO *bio_out = BIO_new(BIO_s_mem());
if(!bio_out)
return 1;
obj = X509_EXTENSION_get_object(ext); obj = X509_EXTENSION_get_object(ext);