]> git.ipfire.org Git - thirdparty/openssl.git/commit
Raise an error on memory alloc failure.
authorFdaSilvaYY <fdasilvayy@gmail.com>
Wed, 9 Nov 2016 23:54:03 +0000 (00:54 +0100)
committerRich Salz <rsalz@openssl.org>
Thu, 17 Nov 2016 01:54:53 +0000 (20:54 -0500)
commitbad6b116a2d3c005330e618c726f172fd0fefc2a
tree04e55baa168ecd38a941c59f28300cd7f579efe5
parent2d13250fd695eba777fe7e2af4beb1b7d356bd8f
Raise an error on memory alloc failure.

Both strdup or malloc failure should raise à err.

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1905)
crypto/dh/dh_meth.c
crypto/dsa/dsa_meth.c
crypto/rsa/rsa_meth.c