Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Segmentation fault /opt/xplico/bin/trigcap #1045

Closed
bugcrash opened this issue Dec 22, 2016 · 9 comments
Closed

Segmentation fault /opt/xplico/bin/trigcap #1045

bugcrash opened this issue Dec 22, 2016 · 9 comments

Comments

@bugcrash
Copy link

bugcrash@seconion:/opt/xplico/bin$ /opt/xplico/bin/trigcap
trigcap v1.1.0
Part of Xplico Internet Traffic Decoder (NFAT).
See http://www.xplico.org for more information.

Copyright 2007-2011 Gianluca Costa & Andrea de Franceschi and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

usage: /opt/xplico/bin/trigcap [-v] -f <input_file> -t -b -a -o <output_file> [-h]
-v version
-f input pcap file
-t trigger packet number
-b packet numbers before trigger packet
-a packet numbers after trigger packet
-o output pcap file
-h this help

bugcrash@seconion:/opt/xplico/bin$ gdb -q /opt/xplico/bin/trigcap
Reading symbols from /opt/xplico/bin/trigcap...(no debugging symbols found)...done.
(gdb) r -f ruby -e 'puts "A" * 9024'
Starting program: /opt/xplico/bin/trigcap -f ruby -e 'puts "A" * 9024'
trigcap v1.1.0
Part of Xplico Internet Traffic Decoder (NFAT).
See http://www.xplico.org for more information.

Copyright 2007-2011 Gianluca Costa & Andrea de Franceschi and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7822943 in _IO_vfprintf_internal (s=, format=,
ap=ap@entry=0x7fffffffb7b8) at vfprintf.c:1661
1661 vfprintf.c: No such file or directory.
(gdb) info reg rdi
rdi 0x4141414141414141 4702111234474983745
(gdb)

@dougburks
Copy link
Contributor

Hi @bugcrash ,

Are you trying to report an issue within Xplico itself? If so, please submit it to the Xplico developers directly.

Per the Xplico wiki:

"Don't hesitate to report bugs to bug[@]xplico.org and/or use the forum."
http://wiki.xplico.org/doku.php?id=xplico

Thanks!

@bugcrash
Copy link
Author

@dougburks
Because securityonion is using the code. Why wait for the third party to fix the issue.

@dougburks
Copy link
Contributor

I've submitted this to bug@xplico.org on your behalf.

@dougburks
Copy link
Contributor

No response yet from bug@xplico.org, so I've also posted this to:
http://forum.xplico.org/viewtopic.php?f=4&t=572

@dougburks
Copy link
Contributor

Still no response from bug@xplico.org or http://forum.xplico.org/viewtopic.php?f=4&t=572, so I've emailed Gianluca Costa personally.

gnlcosta added a commit to xplico/xplico that referenced this issue Jan 2, 2017
@gnlcosta
Copy link

gnlcosta commented Jan 2, 2017

Fixed: xplico/xplico@f9ecb24

@bugcrash
Copy link
Author

bugcrash commented Jan 3, 2017

@gnlcosta
still missing snprintf() for -o argument.

@gnlcosta
Copy link

gnlcosta commented Jan 3, 2017

Ooops.
Right.
Thanks.

@dougburks
Copy link
Contributor

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants