]> granicus.if.org Git - openssl/commit
Added error checking for OBJ_create
authorFrank Morgner <frankmorgner@gmail.com>
Mon, 10 Apr 2017 12:15:09 +0000 (14:15 +0200)
committerRich Salz <rsalz@openssl.org>
Tue, 11 Apr 2017 23:16:17 +0000 (19:16 -0400)
commit3906d9e8df270641a98afbc3c658e2570db70731
tree820662c4aa07e867194d861a46ed3e5702bcf309
parent8e4fa6f7f0a1f648911088c2f1e432ca8c2b78e5
Added error checking for OBJ_create

fixes segmentation fault in case of not enough memory for object creation

CLA: trivial

Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3157)
(cherry picked from commit 487a73def65aa6ffedf5baf353e912fe61aa3c7c)
crypto/objects/obj_dat.c