Re: [MOD] STR #4262: segmentation fault in test/ipptool.c:2557

Ulrich.Windl.rz.uni-regensburg <[email protected]> Mon, 21 Jan 2013 03:44:03 -0800 (PST)
Newsgroups gmane.comp.printing.cups.bugs
Message-ID <[email protected]>
DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

In case it's not obvious: The IPP printer returned a 501 error for an
operation that is not implemented. It did not send any operation
attributes (like charset or language). From RFC 2911 it's not quite clear
whether these operation attributes must be sent even when just sending an
error without specific messages.
A tool to test IPP compliance should handle incorrect responses more
gracefully than with a segmentation fault. The code pattern fixed occcurs
at other places, also.

Link: https://www.cups.org/str.php?L4262
Version: 1.6.1