mirror of
https://github.com/curl/curl.git
synced 2026-08-24 17:53:33 +03: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:
parent
bf085e2c4b
commit
eecb713616
3 changed files with 8 additions and 2 deletions
|
|
@ -1789,11 +1789,14 @@ static int X509V3_ext(struct SessionHandle *data,
|
|||
for (i=0; i<sk_X509_EXTENSION_num(exts); i++) {
|
||||
ASN1_OBJECT *obj;
|
||||
X509_EXTENSION *ext = sk_X509_EXTENSION_value(exts, i);
|
||||
BIO *bio_out = BIO_new(BIO_s_mem());
|
||||
BUF_MEM *biomem;
|
||||
char buf[512];
|
||||
char *ptr=buf;
|
||||
char namebuf[128];
|
||||
BIO *bio_out = BIO_new(BIO_s_mem());
|
||||
|
||||
if(!bio_out)
|
||||
return 1;
|
||||
|
||||
obj = X509_EXTENSION_get_object(ext);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue