Ticket #19 (closed defect: wontfix)
Opened 4 years ago
Last modified 3 years ago
location is not initialised in usb_bus
| Reported by: | FJaouen | Owned by: | |
|---|---|---|---|
| Milestone: | Component: | libusb-0.1 (unmaintained) | |
| Keywords: | usb_bus bus location | Cc: | |
| Blocked By: | Blocks: |
Description
Hello.
While hacking on MTP devices management in rhythmbox, I've find that 'location' attribute of 'usb_bus' struct is not initialized when 'usb_os_find_busses' is called.
I propose the attached small fix that works very well for libusb/libmtp/rhythmbox.
I hope that despite libusb-0.1 is not maintened, this fix can be added to a new release.
Thank you
Attachments
Change History
Changed 4 years ago by FJaouen
comment:1 Changed 3 years ago by stuge
- Resolution set to wontfix
- Status changed from new to closed
Closing this since the code is unmaintained. The patch remains attached to this ticket but please port libmtp to use libusb-1.0 instead.
Note: See
TracTickets for help on using
tickets.
fix to initialize 'location' attribute of 'usb_bus' struct