Re: [MOD] STR #4028: commandtops not robust against broken PostScript in PPD file

Till Kamppeter <[email protected]>
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]

I have tried your suggestion (modified commandtops.c attached, attachment
also issues warnings on broken PS caught by "stopped", and on timeout, the
timeout is reduced to 10 seconds), but the "*?InputSlot" query of the
attached PPD file contains an extra '}', prematurely closing the procedure
and therefore making the job erroring out without being caught by
"stopped", preventing the remaining options from getting configured.

Is there some way to also catch errors like this?

Link: http://www.cups.org/str.php?L4028
Version: 1.5.2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.