[cups.bugs] [MOD] STR #4100: libusb-based USB backend: usblp_attached field of printer data structure can stay uninitialized

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


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

[STR New]

If open_device() errors out early, before detaching the usblp kernel
module, close_device() can get called with printer->usblp_attached
uninitialized.

Patch with the fix is attached.

Link: http://www.cups.org/str.php?L4100
Version: 1.5.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: usb-backend-initialize-usblp-attached-state.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20120523/31e21f5f/attachment.ksh>


More information about the cups-devel mailing list