Check for failed malloc in BIO_ADDR_new
authorMatt Caswell <matt@openssl.org>
Fri, 29 Apr 2016 10:27:09 +0000 (11:27 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 29 Apr 2016 15:47:41 +0000 (16:47 +0100)
commit138388fe33707529683e1a41b0fe47d60313e7c1
tree031978cdfd03482687695771df6086ccfb95ded1
parented3eb5e0cca0ac88908e5d718ac0137d0150ddb3
Check for failed malloc in BIO_ADDR_new

BIO_ADDR_new() calls OPENSSL_zalloc() which can fail - but the return
value is not checked.

Reviewed-by: Rich Salz <rsalz@openssl.org>
crypto/bio/b_addr.c