Re: [Patch] gutenprint53+usb crashes with libusb-1.0.25

Benjamin Berg <[email protected]> Mon, 21 Mar 2022 12:36:57 +0100
Newsgroups gmane.linux.printing.gimp-print.devel
Message-ID <[email protected]>
On Fri, 2022-03-18 at 10:54 -0400, Solomon Peachy wrote:
> On Fri, Mar 18, 2022 at 07:08:36AM +0100, Zdenek Dohnal wrote:
> > If you didn't, would it be okay for you if I applied the attached patch in
> > Fedora for now?
> 
> Please go ahead. While I had to tweak the patch to apply to git master, 
> it's functionally sane and there are no regressions with anything that's 
> actually deployed anywehere.

Upstream libusb merged the patch that I added to Fedora, working around
the issue. This means that you have some time to roll out fixes before
libusb actually starts to enforce the new API.

https://github.com/libusb/libusb/issues/1089#issuecomment-1073364149
https://github.com/libusb/libusb/commit/6b29aeb9ca22ed5ea9768020895698bd452c2a85

This will be included in libusb 1.0.26.

Benjamin