[Snort-devel] segfault in ubi_sptFind/stream4

Francois Baligant francois at ...565...
Tue Sep 18 14:23:02 EDT 2001


Version 1.8.1-RELEASE (Build 78)

Running on RedHat 7.1 Intel SMP (Dual Pentium)

#0  ubi_btFind (RootPtr=0xd777777, FindMe=0x874d990) at ubi_BinTree.c:866
866       return( qFind( RootPtr->cmp, FindMe, RootPtr->root ) );
(gdb) bt
#0  ubi_btFind (RootPtr=0xd777777, FindMe=0x874d990) at ubi_BinTree.c:866
#1  0x08072150 in ubi_sptFind (RootPtr=0xd777777, FindMe=0x874d990) at
ubi_SplayTree.c:458
#2  0x08075787 in StoreStreamPkt (ssn=0x8131ec0, p=0xbffff080,
pkt_seq=2530156118) at spp_stream4.c:2609
#3  0x08073a66 in ReassembleStream4 (p=0xbffff080) at spp_stream4.c:1104
#4  0x08055d9e in Preprocess (p=0xbffff080) at rules.c:3440
#5  0x0804b113 in ProcessPacket (user=0x0, pkthdr=0xbffff570,
pkt=0x4036d042 "") at snort.c:530
#6  0x08078176 in packet_ring_recv () at eval.c:41
#7  0x0807849f in pcap_read () at eval.c:41
#8  0x0807914f in pcap_loop () at eval.c:41
#9  0x0804c53b in InterfaceThread (arg=0x0) at snort.c:1570
#10 0x0804afe5 in main (argc=8, argv=0xbffff7c4) at snort.c:463
#11 0x401ea177 in __libc_start_main (main=0x804a950 <main>, argc=8,
ubp_av=0xbffff7c4, init=0x8049f1c <_init>,
    fini=0x8082b40 <_fini>, rtld_fini=0x4000e184 <_dl_fini>,
stack_end=0xbffff7bc) at ../sysdeps/generic/libc-start.c:129
(gdb) print RootPtr
$1 = 0xd777777
(gdb) print RootPtr->cmp
Cannot access memory at address 0xd77777b

	Hope this help,
	Francois
-- 

Francois Baligant            _     Wanadoo Belgium NV/SA,
Network Operation Center    ( )       a subsidiary of France Telecom
                            /_\/   Lozenberg 22 - B-1932 Zaventem
francois at ...565...    (__/\   tel: +32 2 717 17 17
FB1-6BONE FB3122-RIPE              fax: +32 2 717 17 77

- "if you hold a unix shell to your ear, do you hear the c?"





More information about the Snort-devel mailing list