- Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the
allocation of the memory BIO was not being properly checked.
This commit is contained in:
parent
12bfcb501c
commit
f4e8c406bb
3
CHANGES
3
CHANGES
@ -7,6 +7,9 @@
|
|||||||
Changelog
|
Changelog
|
||||||
|
|
||||||
Daniel Stenberg (8 Mar 2009)
|
Daniel Stenberg (8 Mar 2009)
|
||||||
|
- Andre Guibert de Bruet found and fixed a code segment in ssluse.c where the
|
||||||
|
allocation of the memory BIO was not being properly checked.
|
||||||
|
|
||||||
- Andre Guibert de Bruet fixed the gnutls-using code: There are a few places
|
- Andre Guibert de Bruet fixed the gnutls-using code: There are a few places
|
||||||
in the gnutls code where we were checking for negative values for errors,
|
in the gnutls code where we were checking for negative values for errors,
|
||||||
when the man pages state that GNUTLS_E_SUCCESS is returned on success and
|
when the man pages state that GNUTLS_E_SUCCESS is returned on success and
|
||||||
|
@ -16,6 +16,7 @@ This release includes the following bugfixes:
|
|||||||
|
|
||||||
o NTLM authentication memory leak on SSPI enabled Windows builds
|
o NTLM authentication memory leak on SSPI enabled Windows builds
|
||||||
o fixed the GnuTLS-using code to do correct return code checks
|
o fixed the GnuTLS-using code to do correct return code checks
|
||||||
|
o an alloc-related call in the OpenSSL-using code didn't check the return value
|
||||||
|
|
||||||
This release includes the following known bugs:
|
This release includes the following known bugs:
|
||||||
|
|
||||||
|
@ -565,6 +565,9 @@ static int x509_name_oneline(X509_NAME *a, char *buf, size_t size)
|
|||||||
BUF_MEM *biomem;
|
BUF_MEM *biomem;
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
|
if(!bio_out)
|
||||||
|
return 1; /* alloc failed! */
|
||||||
|
|
||||||
rc = X509_NAME_print_ex(bio_out, a, 0, XN_FLAG_SEP_CPLUS_SPC);
|
rc = X509_NAME_print_ex(bio_out, a, 0, XN_FLAG_SEP_CPLUS_SPC);
|
||||||
BIO_get_mem_ptr(bio_out, &biomem);
|
BIO_get_mem_ptr(bio_out, &biomem);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user