[Snort-devel] two issues with parser.c

Andreas Östling andreaso at ...387...
Sat Nov 30 03:01:07 EST 2002


Hello,

The attached diff (against HEAD) will fix two small bugs in parser.c.

First there is an extra comma in parser.c that will mess up the format
for FatalError and cause stuff like this when there are unterminated rules:

ERROR: Unterminated rule in file    (Snort rules must be contained on a single
line or on multiple lines with a '\' continuation character
at the end of the line,  make sure there are no
carriage returns before the end of this line)
, line 10947392


And then there is broken logic in the test for the direction specifier (and 
broken format in its FatalError line, but that one is never reached).

/Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parser.c.diff
Type: text/x-diff
Size: 1079 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20021130/83124566/attachment.diff>


More information about the Snort-devel mailing list