]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/content: fix FNs due to bad depth calc
authorVictor Julien <vjulien@oisf.net>
Thu, 9 Jun 2022 20:25:44 +0000 (22:25 +0200)
committerVictor Julien <vjulien@oisf.net>
Mon, 13 Jun 2022 18:15:01 +0000 (20:15 +0200)
commit9ab4c9843023ef9f319c676d335e28f699760ea6
tree5e1543c7ce435714f6d8ff6134b29579f2aecd59
parentdf0cca4537ba9c9c75e93fddc6d6385fc63448c2
detect/content: fix FNs due to bad depth calc

When trying to propegate the depth/offset, within/distance chains
a logic error would set too a restrictive depth on a pattern that
followed more than one "unchained" patterns.

Bug: #5162.
(cherry picked from commit 8d20b40cdd3c8e911b0c4b06fb4fdc999b2d5c7c)
src/detect-content.c