[openssl-dev] [openssl.org #4342] few missing malloc return checks and free in error paths

J Mohan Rao Arisankala via RT rt at openssl.org
Wed Feb 24 12:04:02 UTC 2016


Hi,

I have the below mentioned changes in the PR:
https://github.com/openssl/openssl/pull/740, please have a look.

BIO_ADDR_new, ossl_hmac_init, b64_new, ok_new, pkey_hmac_init:

   - added missing checks for malloc return value.

EC_KEY_new_method, ossl_hmac_copy, dane_ctx_enable:

   - releasing memory in few missing error paths

EVP_DigestInit_ex:

   - remove additional check for ‘type’ and doing clear free instead of free

ossl_hmac_cleanup, pkey_hmac_cleanup:

   - allow to invoke with NULL data
   - using EVP_PKEY_CTX_[get|set]_data


Thanks,
Mohan

-- 
Ticket here: http://rt.openssl.org/Ticket/Display.html?id=4342
Please log in as guest with password guest if prompted



More information about the openssl-dev mailing list