]> git.ipfire.org Git - thirdparty/openssl.git/commit
Don't free ret->data if malloc fails.
authorDr. Stephen Henson <steve@openssl.org>
Wed, 27 Apr 2016 19:27:41 +0000 (20:27 +0100)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 29 Apr 2016 20:43:12 +0000 (21:43 +0100)
commit66ce2861c172b2eb344906f424e593337fbd1af8
tree234327f11dd8a9aa0e839ab8cf4e8b346a30ff80
parent1c81a59503af23fa109e346c973e99c66222bf11
Don't free ret->data if malloc fails.

Issue reported by Guido Vranken.

Reviewed-by: Matt Caswell <matt@openssl.org>
(cherry picked from commit 64eaf6c928f4066d62aa86f805796ef05bd0b1cc)
crypto/asn1/a_bytes.c