]> git.ipfire.org Git - thirdparty/suricata.git/commit
datajson: limit impact of feature for non user
authorEric Leblond <el@stamus-networks.com>
Wed, 11 Jun 2025 12:02:19 +0000 (14:02 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 12 Jun 2025 10:53:56 +0000 (12:53 +0200)
commit8f26b4a0ff9f55e45e72b6ce6e383083dd95e1e0
tree277c30a61e03e32c9d37bc42dd1aaabc225274a7
parent36ecda3ea2510268da8deb5850b553f5668234da
datajson: limit impact of feature for non user

The det_ctx structure was inflated by the additoin of the array to
handle JSON context. This commit updates the code to use a growing
buffer and limit the impact.
src/decode.c
src/detect-dataset.c
src/detect-engine-alert.c
src/detect-engine.c
src/detect-engine.h
src/detect-pcre.c
src/detect.h
src/output-json-alert.c