]> git.ipfire.org Git - thirdparty/suricata.git/commit
dataset: cleanup datasets that hit the memcap while loading
authorAndreas Herz <andreas@stamus-networks.com>
Tue, 16 Apr 2024 15:22:20 +0000 (17:22 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 16 Apr 2024 17:42:15 +0000 (19:42 +0200)
commit1f9600e487173b785de186184d93633b246425fd
tree26e21abe40f0557b10c9cbd6cc1ecb483155ffa9
parentdc5b78ec715b7c29ca5faf4d7fb687f2980019c4
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
src/datasets.c
src/detect-dataset.c