Project

General

Profile

Actions

Bug #300

closed

segfault suricata v1.0.4 in PrintList at stream-tcp-reassemble.c:425

Added by rmkml rmkml almost 13 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

Hi,
I have a segfault with suricata v1.0.4, but not on v1.1beta2!
(gdb) bt
#0 0x0000003d4b8330c5 in raise () from /lib64/libc.so.6
#1 0x0000003d4b834a76 in abort () from /lib64/libc.so.6
#2 0x00000000004aa4a5 in PrintList (seg=<value optimized out>) at stream-tcp-reassemble.c:425
#3 0x00000000004abdca in HandleSegmentStartsBeforeListSegment (ssn=<value optimized out>, stream=0x2e43678,
p=<value optimized out>) at stream-tcp-reassemble.c:818
#4 ReassembleInsertSegment (ssn=<value optimized out>, stream=0x2e43678, p=<value optimized out>)
at stream-tcp-reassemble.c:514
#5 StreamTcpReassembleHandleSegmentHandleData (ssn=<value optimized out>, stream=0x2e43678,
p=<value optimized out>) at stream-tcp-reassemble.c:1415
#6 0x00000000004abe84 in StreamTcpReassembleHandleSegment (ra_ctx=<value optimized out>, ssn=0x2e43670,
stream=0x2e43678, p=0x18c3e10) at stream-tcp-reassemble.c:2146
#7 0x00000000004a730f in HandleEstablishedPacketToClient (p=0x18c3e10, stt=0x7fffec002c30, ssn=0x2e43670,
tv=<value optimized out>) at stream-tcp.c:1680
#8 StreamTcpPacketStateEstablished (p=0x18c3e10, stt=0x7fffec002c30, ssn=0x2e43670, tv=<value optimized out>)
at stream-tcp.c:1757
#9 0x00000000004a87ce in StreamTcpPacket (tv=0x1e2f100, p=0x18c3e10, data=0x7fffec002c30,
pq=<value optimized out>, postpq=<value optimized out>) at stream-tcp.c:2861
#10 StreamTcp (tv=0x1e2f100, p=0x18c3e10, data=0x7fffec002c30, pq=<value optimized out>,
postpq=<value optimized out>) at stream-tcp.c:2980
#11 0x0000000000497712 in TmThreadsSlotVarRun (tv=0x1e2f100, p=0x18c3e10, slot=0x1e2f320) at tm-threads.c:439
#12 0x0000000000499467 in TmThreadsSlotVar (td=0x1e2f100) at tm-threads.c:531
#13 0x0000003d4c006ccb in start_thread () from /lib64/libpthread.so.0
#14 0x0000003d4b8e0c2d in clone () from /lib64/libc.so.6
Pcap is avalaible privately please.
Regards
Rmkml

Actions #1

Updated by Victor Julien almost 13 years ago

  • Status changed from New to Closed
  • Assignee set to Victor Julien
  • Target version set to 1.0.5
  • % Done changed from 0 to 100

Fixed in the git master-1.0.x branch, thanks Rmkml!

Actions

Also available in: Atom PDF