]> git.ipfire.org Git - thirdparty/suricata.git/commit
alert: fixes leak in ThresholdHandlePacketRule 6701/head
authorPhilippe Antoine <contact@catenacyber.fr>
Tue, 5 Oct 2021 19:14:18 +0000 (21:14 +0200)
committerShivani Bhardwaj <shivanib134@gmail.com>
Fri, 10 Dec 2021 18:34:06 +0000 (00:04 +0530)
commitdef83c818872e3724f94ff153bdc6ce337a52050
tree7dae4c8aebf56c270804e4974220aee41c3e0e74
parent9d7630d1424302465de9e7cba6e9abb8bc98f9bd
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

(cherry picked from commit 6fadb97d5ded5805745bca02bfb962de975ec122)
src/detect-engine-threshold.c