mirror of https://github.com/OISF/suricata
detect/files: don't prune files for bad packets
A bad packet (rejected by stream engine) could still trigger a file prune, even though (most of the) detection wouldn't happen for the packet. The next valid packet would then not be able to match on the file, as it was already freed. This patch uses the same logic before file pruning as in the detect engine. Bug: 2576pull/3538/head
parent
acd30a4397
commit
d58f81d01b
Loading…
Reference in New Issue