[Snort-devel] [ snort-Bugs-462517 ] spp_stream4.c: bad memset

noreply at ...12... noreply at ...12...
Tue Sep 18 07:07:02 EDT 2001


Bugs item #462517, was opened at 2001-09-18 04:48
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=103357&aid=462517&group_id=3357

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: spp_stream4.c: bad memset

Initial Comment:
-*> Snort! <*-
Version 1.8.1-RELEASE (Build 74)

spp_stream4.c in function Stream4InitReassembler :

                    memset(&s4data.assemble_ports, 1, 65536 * sizeof(u_int16_t));
is better than :
                    memset(&s4data.assemble_ports, 1, 65536 );

otherwise only ports under 32768 could be reassembling (and the array s4data.assemble_ports has 
65536 elements!)

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

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




More information about the Snort-devel mailing list