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:56:34 +0000 (11:56 +0000)
commit04d5242c46b0f348f5ab92e9764f138547b237c5
treea84e567ab0b72f7455239e9f68c1d5b612181e12
parent3b93479fcfd335622bb9e5e8cc08acd328750f44
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