diff options
author | Matt Caswell <matt@openssl.org> | 2015-03-11 20:08:16 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-03-12 09:33:46 +0000 |
commit | 3942e7d9ebc262fa5c5c42aba0167e06d981f004 (patch) | |
tree | 2f1ed7d3df9aea9ab34a92a8a4eac861f33f97b4 /MacOS/GetHTTPS.src | |
parent | 2679485e69c55b8186bc14d4947fc508c5f55358 (diff) | |
download | openssl-new-3942e7d9ebc262fa5c5c42aba0167e06d981f004.tar.gz |
Fix dh_pub_encode
The return value from ASN1_STRING_new() was not being checked which could
lead to a NULL deref in the event of a malloc failure. Also fixed a mem
leak in the error path.
Reviewed-by: Rich Salz <rsalz@openssl.org>
(cherry picked from commit 6aa8dab2bbfd5ad3cfc0d07fe5d7243635d5b2a2)
Conflicts:
crypto/dh/dh_ameth.c
Diffstat (limited to 'MacOS/GetHTTPS.src')
0 files changed, 0 insertions, 0 deletions