]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: fix file_data detect issue with alert ip
authorVictor Julien <victor@inliniac.net>
Wed, 15 Aug 2018 10:28:52 +0000 (12:28 +0200)
committerVictor Julien <victor@inliniac.net>
Mon, 20 Aug 2018 09:03:00 +0000 (11:03 +0200)
commit88277d04021bbec145ee1a13e23a94770648c4c8
treea57bc5222f58a8d7ea189545f4a0fdbafc7af174
parenta68eec630f26967943d5d712b657f460d6d7c696
detect: fix file_data detect issue with alert ip

Fix mpm progress being updated by irrelevant engines. Esp in the
case of file_data engines, signature can contain multiple versions
of the same engine, registered for different 'progress' values.

This would lead to signatures being considered 'can't match' even
in cases where they clearly could still match.

Only consider those progress values that apply to the protocol in
use.
src/detect.c