]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect/mpm: fix fast_pattern handling of len >255
authorVictor Julien <victor@inliniac.net>
Sat, 1 Dec 2018 09:06:54 +0000 (10:06 +0100)
committerVictor Julien <victor@inliniac.net>
Sat, 1 Dec 2018 09:09:58 +0000 (10:09 +0100)
commitbfe3a4180cf77e828c8d700d44bba960e408c741
tree7ac6b9706432a329609ec8de13695ca35a0d1f03
parentab751da633e2aea44a210c7ac690a8617efa98cd
detect/mpm: fix fast_pattern handling of len >255

The fast pattern selection logic would truncate a patterns len to
255 leading to assigning the same pid to different patterns.

This in turn would be caught by the hyperscan setup code which would
abort.

Bug #2714.
src/detect-engine-mpm.c