]> git.ipfire.org Git - thirdparty/suricata.git/commit
rule parsing: check for balanced double quotes
authorJason Ish <ish@unx.ca>
Mon, 19 Sep 2016 16:43:00 +0000 (10:43 -0600)
committerVictor Julien <victor@inliniac.net>
Sun, 25 Sep 2016 20:11:24 +0000 (22:11 +0200)
commit04da43d65d4ba812a0595f6018d48344d1f155ef
treeb3f7c77ed7964a1e5394305a6dc51452bde32b46
parent48b3cb04924f7d5e9d456c4e6a8151f3267e4577
rule parsing: check for balanced double quotes

If a rule option value starts with a double quote, ensure it
ends with a double quote, exclusive of white space which gets
trimmed anyways.

Catches errors like 'filemagic:"picture" sid:5555555;' reporting
that a missing semicolon may be the error.
src/detect-parse.c