[Bug 842047] New: libpcap doesn't control return value of usb enumeration
https://bugzilla.novell.com/show_bug.cgi?id=842047 https://bugzilla.novell.com/show_bug.cgi?id=842047#c0 Summary: libpcap doesn't control return value of usb enumeration Classification: openSUSE Product: openSUSE Factory Version: 13.1 Beta 1 Platform: x86-64 OS/Version: SUSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: diego.ercolani@gmail.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0 When you use libpcap (e.g. tcpdump) in a virtual environment without usb bus, tcpdump fails with a sementation fault. This issue seem related to libpcap that don't control the failing of usb enumeration, It's a well known bug... but is not resolved also in opensuse 13.1 This is a bug in libpcap. It doesn't check the return value of libusb_init [1]. On a Linode VPS, libusb_init() will return -99: $ LIBUSB_DEBUG=3 ./usb-test libusbx: error [op_init] could not find usbfs libusb_init() failed; ret = -99 Where usb-test is a simple test program (attached). I have reported [2] the bug to upstream's tracker. [1] https://github.com/mcr/libpcap/blob/master/pcap-canusb-linux.c#L96 [2] https://sourceforge.net/tracker/?func=detail&aid=3554749&group_id=53067&atid=469577 Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=842047 https://bugzilla.novell.com/show_bug.cgi?id=842047#c Ye Yuan <yyuan@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yyuan@suse.com AssignedTo|bnc-team-screening@forge.pr |vcizek@suse.com |ovo.novell.com | -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=842047 https://bugzilla.novell.com/show_bug.cgi?id=842047#c1 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |vcizek@suse.com --- Comment #1 from Vitezslav Cizek <vcizek@suse.com> 2013-09-25 13:09:15 CEST --- Yeah, we fixed this for 12.3 in bug 822165 (I see you commented in there). But at that time we apparently forgot to add the patch to Factory. Factory received 1.4.0, which includes the fix few days ago. I'll try to push it through to 13.1, otherwise we'll have to patch the 1.3.0 version currently present in the upcoming release. Thanks for the reminder! -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=842047 https://bugzilla.novell.com/show_bug.cgi?id=842047#c2 Vitezslav Cizek <vcizek@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Vitezslav Cizek <vcizek@suse.com> 2013-09-25 17:57:20 CEST --- The fixed libpcap 1.4.0 is in the upcoming openSUSE 13.1. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com