Bug 492109

Summary: *** buffer overflow detected ***: tcpick terminated. When using -t option
Product: [Fedora] Fedora Reporter: JanS <jan.skowron>
Component: tcpickAssignee: Lubomir Rintel <lkundrak>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 9CC: mlichvar, redhat-bugzilla
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 0.2.1-16.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-29 15:51:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Backtrace none

Description JanS 2009-03-25 12:52:53 UTC
Created attachment 336634 [details]
Backtrace

Description of problem:
when run with -t option, tcpick will crash before first package will be displayed.

Version-Release number of selected component (if applicable):
tcpick   x86_64   0.2.1-14.fc9

How reproducible:
allways

Steps to Reproduce:
1. tcpick -i eth0 -C -a -t

when run 'tcpick -i eth0 -C -a' everuthing is ok.
  
Actual results:
*** buffer overflow detected ***: tcpick terminated

Comment 1 Robert Scheck 2009-03-25 13:04:55 UTC
On ix86, I can't reproduce, looks like something x86_64 specific. Is SELinux 
enabled? If yes, can you please switch to permissive and see whether it crashes
as well? I think, it doesn't change anything, but just to be sure. Adding the
libpcap maintainer, Miroslav, on copy as well, maybe he has some ideas.

The crash is producible with Fedora 10 (x86_64) as well.

Comment 2 JanS 2009-03-25 13:26:56 UTC
I have SELinux disabled as usual.

(PS. It costs too much troubles to deal with all this not working things because of SELinux contexts not set properly)

Comment 3 Robert Scheck 2009-03-29 13:05:21 UTC
Lubomir, as spoken with you on IRC, I'm re-assigning to you. Maybe you're able
to provide a fix/patch to solve this?

[14:53:42] < rsc> lkundrak: aren't you C knowledged?
[14:58:41] < lkundrak> rsc: well, to some extent
[15:00:38] < rsc> lkundrak: do you maybe have a clue how to fix #492109?
[15:02:21] < lkundrak> rsc: probably yes. I'm going to take a look at it,
                            feel free to reassign the ticket to me

Comment 4 Robert Scheck 2009-03-29 15:51:43 UTC
Lubomir, thank you *very* much for fixing this issue: 

http://cvs.fedoraproject.org/viewvc/devel/tcpick/tcpick-0.2.1-timezone.patch

Comment 5 Fedora Update System 2009-03-29 15:56:52 UTC
tcpick-0.2.1-16.fc9 has been submitted as an update for Fedora 9.
http://admin.fedoraproject.org/updates/tcpick-0.2.1-16.fc9

Comment 6 Fedora Update System 2009-03-31 20:34:52 UTC
tcpick-0.2.1-16.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2009-03-31 20:36:15 UTC
tcpick-0.2.1-16.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.