[Snort-devel] Some bugfixes for rulesfile parser in version 1.8

Achim Gsell a at ...384...
Wed May 9 11:58:17 EDT 2001


Hi,

the attached patches fixes some bug in the rulesfile parser:

mSplit() didn't set the number of tokens ("*toks") to 0 if there weren't any. 
This normaly caused a SEGV later.

ProcessIP() didn't check for a closing ']' in an address list and normaly 
crashed with a SEGV if it was missing.

Achim
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mstring.patch
Type: text/x-c
Size: 645 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20010509/0954eed9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rules.patch
Type: text/x-c
Size: 1402 bytes
Desc: not available
URL: <https://lists.snort.org/pipermail/snort-devel/attachments/20010509/0954eed9/attachment-0001.bin>


More information about the Snort-devel mailing list