]> git.ipfire.org Git - thirdparty/suricata.git/commit
filestore: fix crash if keyword setup fails
authorVictor Julien <victor@inliniac.net>
Fri, 31 Oct 2014 12:41:39 +0000 (13:41 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 31 Oct 2014 12:41:39 +0000 (13:41 +0100)
commitf7c2c219cd4b268a4bbb105dbd14e1d0b36b8ea0
tree212ae08b0a1c826146c14a5c2bcf421a6ab9757d
parent9d2a0c39e543d35c81cd66c5bd424750a938e888
filestore: fix crash if keyword setup fails

SigMatch would be added to list, then the alproto check failed, leading
to freeing of sm. But as it was still in the list, the list now contained
a dangling pointer.
src/detect-filestore.c