commit | 6aa0ba4bb2833b1e0d6ae98c54c79bfed8257c3a | [log] [tgz] |
---|---|---|
author | Richard Levitte <levitte@openssl.org> | Fri Dec 18 13:03:45 2015 +0100 |
committer | Richard Levitte <levitte@openssl.org> | Sat Jan 02 20:39:24 2016 +0100 |
tree | 05e7d8bc8448da1a1f83a0e37761a06f171a7de3 | |
parent | 4fa52141b08fca89250805afcf2f112a2e0d3500 [diff] |
Fix a possible memleak If there's a failure allocating md_data, the destination pctx will have a shared pointer with the source EVP_MD_CTX, which will lead to problems when either the source or the destination is freed. Reviewed-by: Stephen Henson <steve@openssl.org>