#4 Sef Fault when processing wireless derived data

open
nobody
None
5
2014-08-17
2007-09-26
Anonymous
No

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

Discussion

  • simon lundell
    simon lundell
    2008-01-04

    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;

     

  • Anonymous
    2010-02-20

    Now it works ok, thank you!