]> git.ipfire.org Git - thirdparty/suricata.git/commit
detect: more robust against transform issues
authorVictor Julien <victor@inliniac.net>
Tue, 31 Mar 2020 08:35:54 +0000 (10:35 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 31 Mar 2020 09:53:17 +0000 (11:53 +0200)
commit7f19da1cc0956a36982b6027e8bce517ca447609
tree583942b83098ff696326de40b06d2b0159479749
parent713c379427c43aa9be9be1dcf7c3ed79a91cab94
detect: more robust against transform issues

In case of transform issues (transform not consumed before pkt_data
for example), the code would hit an ugly BUG_ON.

Address this by a more graceful error message, that will still
invalidate the sig but not crash the engine.
src/detect-engine.c