]> git.ipfire.org Git - thirdparty/openssl.git/commit
Improve error handling in pk7_doit
authorMatt Caswell <matt@openssl.org>
Mon, 12 Mar 2018 13:56:34 +0000 (13:56 +0000)
committerMatt Caswell <matt@openssl.org>
Mon, 12 Mar 2018 19:09:04 +0000 (19:09 +0000)
commit4718f449a3ecd5efac62b22d0fa9a759a7895dbc
treed60c3fcc426b09bb34e5fcf3db350d218936cd06
parente45b4dd292d8cd2a9f71c88784b72d831b3b6212
Improve error handling in pk7_doit

If a mem allocation failed we would ignore it. This commit fixes it to
always check.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5596)
crypto/pkcs7/pk7_doit.c