]> git.ipfire.org Git - thirdparty/suricata-verify.git/commit
tests: add test for cornercase alert_max case
authorJuliana Fajardini <jufajardini@gmail.com>
Wed, 23 Feb 2022 12:35:41 +0000 (12:35 +0000)
committerVictor Julien <victor@inliniac.net>
Thu, 28 Jul 2022 10:20:16 +0000 (12:20 +0200)
commitecb8abd5a945aad0d46661fbd2e8d6cd02f263d2
tree3f7a1917f3beac3d29eb925b5b2ca52961fce7cd
parenta434f48db23b46f4c0ce2bc116f7d858a3d28740
tests: add test for cornercase alert_max case

With dynamic memory alocation of the packet alert queue, we must make
sure that when we rearrange signatures in the alert queue we are not
leaking memory. This test is intended to cover such a case.

Related to
Task #4943
tests/alert-max/alert-max-append-higher-priority/README.md [new file with mode: 0644]
tests/alert-max/alert-max-append-higher-priority/input.pcap [new file with mode: 0644]
tests/alert-max/alert-max-append-higher-priority/suricata.yaml [new file with mode: 0644]
tests/alert-max/alert-max-append-higher-priority/test.rules [new file with mode: 0644]
tests/alert-max/alert-max-append-higher-priority/test.yaml [new file with mode: 0644]
tests/alert-max/alert-max-append-higher-priority/writepcap.py [new file with mode: 0755]