]> git.ipfire.org Git - thirdparty/suricata.git/commit
dataset: cleanup datasets that hit the memcap while loading 10905/head 10913/head
authorAndreas Herz <andreas@stamus-networks.com>
Tue, 16 Apr 2024 15:22:20 +0000 (17:22 +0200)
committerPhilippe Antoine <pantoine@oisf.net>
Thu, 18 Apr 2024 14:18:23 +0000 (16:18 +0200)
commit59800113b8459406dcd1c758e87dda4a4623cda7
treeee9a5645abd9bbed05f6589ce4ecf40ee1c98603
parent5267479134d67dcc400008b57e363c8d5aea7b42
dataset: cleanup datasets that hit the memcap while loading

Datasets that hit the memcap limit need to be discarded if the memcap is
hit or otherwise the datasets are still loaded with partial data while
the signature is not loaded due to the memcap error.

Ticket: #6678
(cherry picked from commit 1f9600e487173b785de186184d93633b246425fd)
src/datasets.c
src/detect-dataset.c