Avoid NULL deref in CBS_get_any_asn1_element().
authordoug <doug@openbsd.org>
Wed, 29 Apr 2015 01:27:34 +0000 (01:27 +0000)
committerdoug <doug@openbsd.org>
Wed, 29 Apr 2015 01:27:34 +0000 (01:27 +0000)
commit874a9cdc392e63fbc0fb725a4b63acb245b75a6e
treec3cf55565374ededaea479ca423e087f22dc269f
parenteb92844be4d4eb01ae4d95dcadae3ab6133377c5
Avoid NULL deref in CBS_get_any_asn1_element().

This function is documented as allowing NULL for out_header_len.

ok jsing@
lib/libssl/bs_cbs.c
lib/libssl/src/ssl/bs_cbs.c