[cups.bugs] [LOW] STR #3984: D-Bus notifier sends malformed messages when encountering invalid utf8 strings

Lars Uebernickel lars at uebernic.de
Wed Nov 30 08:03:38 PST 2011


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

[STR New]

The notifier sends messages with less than the documented amount of
parameters when one of the parameters contains an invalid utf8 string.

The attached patch checks for the return value of
dbus_message_iter_append_* and doesn't send the message if any one
parameters couldn't be added.

Link: http://www.cups.org/str.php?L3984
Version: 1.5.0
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dont-send-malformed-dbus-messages.patch
URL: <https://lists.cups.org/pipermail/cups/attachments/20111130/73267316/attachment.ksh>


More information about the cups mailing list