[Snort-devel] [ snort-Bugs-529239 ] keepstats broken/fix included

noreply at ...12... noreply at ...12...
Sat Mar 23 18:58:16 EST 2002


Bugs item #529239, was opened at 2002-03-12 21:18
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=103357&aid=529239&group_id=3357

Category: None
Group: None
Status: Closed
>Resolution: Fixed
Priority: 1
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: keepstats broken/fix included

Initial Comment:
Around line 690 of spp_stream4.c, there is:
!strncasecmp(stoks[0], "keepstats", 10)

The 10 should be changed to 9

This bug prevents the keepstats argument from working.

----------------------------------------------------------------------

>Comment By: Brian Caswell (cazz)
Date: 2002-03-18 08:10

Message:
Logged In: YES 
user_id=153494

using strcasecmp is good, but making it check the right
lenght is still better... fixed.

----------------------------------------------------------------------

Comment By: Andrew R. Baker (andrewbaker)
Date: 2002-03-16 01:26

Message:
Logged In: YES 
user_id=308707

the noticed error does not cause keepstats to stop working,
however the parser should be using strcasecmp exclusively
over strncasecmp

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=103357&aid=529239&group_id=3357




More information about the Snort-devel mailing list