Add a check for a failed malloc
authorMatt Caswell <matt@openssl.org>
Tue, 15 Mar 2016 11:51:48 +0000 (11:51 +0000)
committerMatt Caswell <matt@openssl.org>
Fri, 18 Mar 2016 11:59:11 +0000 (11:59 +0000)
commit4275ee389b4092363ed8f2f2fa8aa0240b0ea122
tree9ffd4d831fd2458b3569042dbc7f90acd7df2d2a
parentd31b25138f26cad65182a325561f929d67806248
Add a check for a failed malloc

Ensure we check for a NULL return from OPENSSL_malloc

Issue reported by Guido Vranken.

Reviewed-by: Richard Levitte <levitte@openssl.org>
ssl/d1_both.c
ssl/t1_lib.c