]> git.ipfire.org Git - thirdparty/suricata.git/commit
alert: fixes leak in ThresholdHandlePacketRule 6449/head
authorPhilippe Antoine <contact@catenacyber.fr>
Tue, 5 Oct 2021 19:14:18 +0000 (21:14 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 5 Oct 2021 19:32:34 +0000 (21:32 +0200)
commit6fadb97d5ded5805745bca02bfb962de975ec122
tree426dcb920bbc65cda02ac6319f128f79544b1141
parentd21a252238fd766d3c2ec4c2d165d429dad0d85a
alert: fixes leak in ThresholdHandlePacketRule

ThresholdHandlePacketRule may take ownership of an allocated
DetectThresholdEntry, and places it in a position of the
array th_entry. But it never got released
src/detect-engine-threshold.c