Fix buffer overrun in ASN1_parse().
authorViktor Dukhovni <openssl-users@dukhovni.org>
Wed, 20 Apr 2016 02:23:24 +0000 (22:23 -0400)
committerViktor Dukhovni <openssl-users@dukhovni.org>
Sat, 23 Apr 2016 04:44:50 +0000 (00:44 -0400)
commit2442382e11c022aaab4fdc6975bd15d5a75c4db2
treed29644d7ef93e4d5e2007896dc29b4f71957337e
parentf32774087f7b3db1f789688368d16d917757421e
Fix buffer overrun in ASN1_parse().

Backport of commits:

        79c7f74d6cefd5d32fa20e69195ad3de834ce065
bdcd660e33710079b495cf5cc6a1aaa5d2dcd317

from master.

Reviewed-by: Matt Caswell <matt@openssl.org>
crypto/asn1/asn1_lib.c
crypto/asn1/asn1_par.c