]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/dataset: check context_key validity
authorEric Leblond <el@stamus-networks.com>
Mon, 9 Jun 2025 09:30:26 +0000 (11:30 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 11 Jun 2025 18:49:19 +0000 (20:49 +0200)
commitcf7dda354e5e93954afc965349de8c563143a3d1
treed2ae7298fc362bbbe8af1f8e6a8393e8e3bb40fb
parent803d61c9d1134a778d6ed7ee2441b16afd44e7ef
detect/dataset: check context_key validity

As context_key is an user entry and as it is used to build the JSON
string of alert, we could end up with an invalid event if the string
contains improper characters.
src/detect-dataset.c