]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: parsing avoiding infinite loop
authorPhilippe Antoine <contact@catenacyber.fr>
Sat, 16 Apr 2022 14:51:42 +0000 (16:51 +0200)
committerVictor Julien <vjulien@oisf.net>
Tue, 14 Jun 2022 08:13:45 +0000 (10:13 +0200)
commitfc237f9735a0e9870c504b3068ab24dff935676e
tree0bed13f54791d8c6d85b9c40ef4b7f4f2ce11520
parent117278cb77d9015a1014316cfc055c20bfdd653c
detect: parsing avoiding infinite loop

by comparing size_t to strlen result
Instead of uint16_t which would loop

Ticket: #5310
(cherry picked from commit ced96a8aadd8a9a4ce3d8d689ac53f7eedbbe8e9)
src/detect-content.c
src/detect-detection-filter.c
src/detect-engine-prefilter.c
src/detect-msg.c
src/detect-threshold.c