[Snort-devel] [ snort-Bugs-460703 ] Segmentation fault in spp_stream4

noreply at ...12... noreply at ...12...
Tue Sep 11 18:22:02 EDT 2001


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

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: Segmentation fault in spp_stream4

Initial Comment:
Get segmentation fault in:

frame stack:
#0 subslide() at ubi_BinTree.c
#1 ubi_btNext() at ubi_BinTree.c
#2 PrunesessionCache() at spp_stream4.c
#3 reassembleStream() at spp_stream4.c


Version used:
/* $Id: spp_stream4.c,v 1.42 2001/08/10 20:39:52 roesch 
Exp $ */


Problem deals with a bad cast. 


Patch to apply:

diff spp_stream4.c /tmp/spp_stream4_new.c
2402c2402
<         idx = (Session *) 
ubi_btFirst((ubi_btNodePtr)RootPtr);
---
>         idx = (Session *) 
ubi_btFirst((ubi_btNodePtr)RootPtr->root);


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

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




More information about the Snort-devel mailing list