mirror of https://github.com/OISF/suricata
rule-parsing: quick fix for rules with wrong double quotes
The stripping of leading and trailing "s has issues with rules like the ones described in issue 1638 thus resulted in crashing the rule parser. So for now this is a quick fix which approaches this issue directly by stripping those "s correctly and handling error cases. It also adds the skip for leading spaces at the msg keyword and worksaround a possible null pointer dereference (that should never occur though). A more general approach should be done in the future.pull/1886/merge
parent
881fc5500d
commit
27f6620874
Loading…
Reference in New Issue