Ticket #19 (closed defect: wontfix)

Opened 2 years ago

Last modified 17 months ago

location is not initialised in usb_bus

Reported by: FJaouen Owned by:
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

linux_c_git.diff (361 bytes) - added by FJaouen 2 years ago.
fix to initialize 'location' attribute of 'usb_bus' struct

Change History

Changed 2 years ago by FJaouen

fix to initialize 'location' attribute of 'usb_bus' struct

comment:1 Changed 17 months ago by stuge

  • Status changed from new to closed
  • Resolution set to wontfix

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.