Bug 705562

Summary: crash on lsusb -v
Product: [Fedora] Fedora Reporter: Bill Nottingham <notting>
Component: usbutilsAssignee: Jiri Moskovcak <jmoskovc>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 15CC: dfediuck, jmoskovc, nphilipp, rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-30 12:52:30 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bill Nottingham 2011-05-17 20:07:27 UTC
Description of problem:

Program received signal SIGSEGV, Segmentation fault.
find_otg (buf=0x4 <Address 0x4 out of bounds>, buflen=32902) at lsusb.c:3412
3412			if (buf[0] == 3 && buf[1] == USB_DT_OTG)
(gdb) bt
#0  find_otg (buf=0x4 <Address 0x4 out of bounds>, buflen=32902) at lsusb.c:3412
#1  0x0000000000409162 in do_otg (config=0x7fffffffde00) at lsusb.c:3429
#2  dumpdev (dev=0x6e9520) at lsusb.c:3793
#3  0x000000000040a54c in list_devices (ctx=<optimized out>, busnum=-1, devnum=-1, 
    vendorid=-1, productid=-1) at lsusb.c:3878
#4  0x0000000000401a05 in main (argc=2, argv=0x7fffffffe1b8) at lsusb.c:4045
(gdb) print buf
$1 = (const unsigned char *) 0x4 <Address 0x4 out of bounds>

Version-Release number of selected component (if applicable):

usbutils-001-3.fc15.x86_64

How reproducible:

100%

Steps to Reproduce:
1. run it

Comment 1 Nils Philippsen 2011-05-30 12:52:30 UTC

*** This bug has been marked as a duplicate of bug 707853 ***