[Snort-devel] Segmentation fault in spp_stream4

yves.soun at ...813... yves.soun at ...813...
Tue Sep 11 08:14:02 EDT 2001


Segmentation fault in spp_stream4.
(also submit on sourceforge under RequestID 460703).

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);





More information about the Snort-devel mailing list