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:01 +0000 (19:16 -0400)
commit487a73def65aa6ffedf5baf353e912fe61aa3c7c
tree8dedb1a0971cf5e1d53936717975570ca91cec04
parenta105d5603bcb93597866ab20a0ef2acaf6e7b3f6
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)
crypto/objects/obj_dat.c