asn1: Fix handling of invalid ASN.1 length in is_asn1()
authorTobias Brunner <tobias@strongswan.org>
Mon, 29 Jul 2013 21:45:38 +0000 (23:45 +0200)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 31 Jul 2013 20:16:58 +0000 (22:16 +0200)
commitb3393c88c1d1f68540a3084fda0a80377ef3c1fc
tree6f6c204afe9ba24d0e3dc8409c4a149d5e631179
parentcc5bedbb98f97a0adf18482d230f7ddc15d098b3
asn1: Fix handling of invalid ASN.1 length in is_asn1()

Fixes CVE-2013-5018.
src/libstrongswan/asn1/asn1.c