#36 lsusb -t fails with parent id 09

open
nobody
None
5
2007-11-22
2006-06-14
Tom Parker
No

lsusb in devtree.c uses strtoul with '0' for a base
argument to interpret the "T:" lines in
/proc/bus/usb/devices. However, if an entry is '09',
then it gets interepreted as an octal number (due to
the leading '0') but then gets returned as '0' (as '9'
isn't a valid character for an octal number). The
following patch makes devtree.c use base 10 for
interpreting the 'T:' lines.

Discussion

  • Tom Parker

    Tom Parker - 2006-06-14
     
  • Stephen J. Gowdy

    • assigned_to: nobody --> dlbrown
     
  • David L Brown

    David L Brown - 2007-11-22
    • assigned_to: dlbrown --> nobody
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks