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

H. Blischke HelgeBlischke at web.de
Fri Feb 17 06:46:10 PST 2012


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

[STR New]

First, an additional save and restore bracketing does no harm. But the
stopped approach fails on syntax errors caused by missing or misplaced
braces.

To prevent the PS interpreter to abort the job in such cases you need to
replace the errorhandler procedure in $errordict by your own procedure. As
$errordict is in local VM, this is subject to save and restore as well.

If you could specify what such a special errorhandler procedure should
report to CUPS, I could program and test one.

Link: http://www.cups.org/str.php?L4028
Version: 1.5.2





More information about the cups-devel mailing list