mirror of https://github.com/OISF/suricata
detect-filemagic: fix heap-use-after-free
This fixes the heap-use-after-free issue with sm being freed without being removed from the signature (s) list. Move the protocol check for rules with filemagic before the alloc and make the error log more precise.pull/2138/head
parent
a309598721
commit
36e4126227
Loading…
Reference in New Issue