]> git.ipfire.org Git - thirdparty/suricata.git/commit
content: Constrain distance/within values
authorJeff Lucovsky <jlucovsky@oisf.net>
Wed, 7 Dec 2022 15:20:06 +0000 (10:20 -0500)
committerVictor Julien <vjulien@oisf.net>
Mon, 27 Mar 2023 13:53:59 +0000 (15:53 +0200)
commitf57c11df3fc1c60bf6e89e180f874db31f5129d7
treeae424da5494700a0583b6e99bff3bf952cfce217
parent35bbdf4124ad270619ec9f0e75a5713913ccd553
content: Constrain distance/within values

Ticket: 5740

This commit constrains the values for distance and limit to 1MB. The
constraint is enforced while parsing the keyword values.
src/detect-content.c
src/detect-content.h
src/detect-distance.c
src/detect-within.c