Sef Fault when processing wireless derived data
Brought to you by:
harbourn
This programme causes segmentation faults when processing wireless derived data streams. Specifically:
Ubuntu 6.1 running on an i686 system.
Data is derived from monitoring wireless links using Kismet. The Kismet dump file is processed to remove 802.11 headers using airdecap-ng and then fed to tcpxtract.
The crash occurs in the set_segment_marks function in extract.c, I have not yet been able to determine the mechanism that triggers this, however the seg fault occurs when the eptr->segment.start = 0; line is executed - I assume this is because the address of eptr->segment.start is somehow invalid.
ottawameeting@vodafone.net
Logged In: YES
user_id=1634815
Originator: NO
This bug seems to be caused by that set_segment_marks gets called with an uninitialized value. The attached patch seems to fix this issue.
Best regards,
Simon
patch for sessionlist.c:
63a64
> (*last_slist)->extract_list = NULL;
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Now it works ok, thank you!