]> git.ipfire.org Git - thirdparty/suricata.git/commit
commandline: add alert-queue expand failure option
authorJuliana Fajardini <jufajardini@oisf.net>
Mon, 9 May 2022 14:57:31 +0000 (11:57 -0300)
committerVictor Julien <vjulien@oisf.net>
Thu, 1 Sep 2022 08:12:35 +0000 (10:12 +0200)
commit8f3ec86e171537d4b60d21f97f007e99490ff7f5
treea81f40a304b647b4fcc24e86807b677c033a3446
parent7dc493cf55c6058e11420b3e05cddf973a9c6755
commandline: add alert-queue expand failure option

For testing purposes. Meant to simulate a reallocation failure when
dynamically growing the alert queue in DetectEngineThreadCtx, so we can
check that Suri's behavior doesn't break under such circumstances.

Task #5319

(cherry picked from commit 58928b249d3b5b9740bc7d35cd392c265097648c)
src/detect-engine-alert.c
src/suricata.c
src/util-exception-policy.c
src/util-exception-policy.h