[cups.bugs] [MOD] STR #3621: Paramter substitution in custom PJL options is broken

Benjamin Berg benjamin at sipsolutions.net
Sun Jul 18 08:51:23 PDT 2010


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

[STR New]

The code that substitues the \X parameters in the PPD file for CustomPJL
options is not implemented correctly. It looks for more than one digit,
but does not move the pointer, and tests using isalnum instead of isdigit
(therefor also accepting something like \0a as a number).

Attach patch fixes the issue.

Link: http://www.cups.org/str.php?L3621
Version: 1.4.4
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: emit-fix.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20100718/a85d07eb/attachment.ksh>


More information about the cups-devel mailing list