]> 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:18:34 +0000 (19:18 +0000)
commitc46343fe662df971755df6cf66c50e531b032745
tree328f8e923c9eef4b2ebadf86267aefe030be6476
parentd777ca4900e0de94df5590f2957962cdd231c18c
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)

(cherry picked from commit 4718f449a3ecd5efac62b22d0fa9a759a7895dbc)
crypto/pkcs7/pk7_doit.c