[cups.bugs] [MOD] STR #4099: libusb-based USB backend: USB backend crashes on USB errors

Till Kamppeter till.kamppeter at gmail.com
Wed May 23 08:23:23 PDT 2012


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

The attached patch checks the output value of all libusb function calls, so
that if one of the calls errors the backend errors out instead of crashing.

In addition, the detaching of the usblp kernel module is done in a earlier
stage of the open_device() function.

Link: http://www.cups.org/str.php?L4099
Version: 1.5.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: usb-backend-detach-usblp-earlier-crash-guards.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20120523/ba362fdc/attachment.ksh>


More information about the cups mailing list