]> git.ipfire.org Git - thirdparty/suricata.git/commit
util-decode-der: fix NULL dereference bug 1975/head
authorMats Klepsland <mats.klepsland@gmail.com>
Thu, 31 Mar 2016 14:15:26 +0000 (16:15 +0200)
committerMats Klepsland <mats.klepsland@gmail.com>
Thu, 31 Mar 2016 14:15:26 +0000 (16:15 +0200)
commitf9ac42b36f0dab7cf9325202425f20ef4ca0ebfe
treef60e93cb509ad52cb03c2d0496aa2a75bd4238a4
parentc0dd91159103e0be75cb53b2562acad992171ded
util-decode-der: fix NULL dereference bug

Make sure that the length is not longer than the size of the buffer
provided.
src/util-decode-der.c