]> git.ipfire.org Git - thirdparty/suricata.git/commit
util-decode-der: fix hang detected by AFL 1997/head
authorMats Klepsland <mats.klepsland@gmail.com>
Sun, 10 Apr 2016 12:57:19 +0000 (14:57 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 11 Apr 2016 12:13:31 +0000 (14:13 +0200)
commitc2f0f82bb4aadf5eaf7bc72f4c990dd875d91731
treefba1bee06c4494a15d03bca2ade313544305f773
parent18f88a6344e3d981da4966d59662d029b2713065
util-decode-der: fix hang detected by AFL

Fix hang that occurs when child->length is zero, resulting in an
endless loop.
src/util-decode-der.c