Avoid a potential null pointer dereference by checking that we actually
authorjsing <jsing@openbsd.org>
Wed, 30 Apr 2014 13:51:58 +0000 (13:51 +0000)
committerjsing <jsing@openbsd.org>
Wed, 30 Apr 2014 13:51:58 +0000 (13:51 +0000)
commit5071407dbedd4bba77fcb54f04a84b73d450244b
treec026fa67df3343ef66e54b2a118c7b2dfcd15b2e
parent2a013aeabc2cd6f8d72c3819cabdd3e3d384d271
Avoid a potential null pointer dereference by checking that we actually
managed to allocate a fragment, before trying to memcpy data into it.

ok miod@
lib/libssl/d1_both.c
lib/libssl/src/ssl/d1_both.c