[cups.bugs] [MOD] STR #3620: Invalid paramters for custom options crash the filter

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


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

[STR New]

I have got something like the following snippet in a PPD file:

*JCLOpenUI JCLAccountLogin/Username: PickOne   
*OrderDependency: 10 JCLSetup *JCLAccountLogin   
*JCLCloseUI: *JCLAccountLogin   

*CustomJCLAccountLogin True: "@PJL SET ACCOUNTLOGIN=\1<0A>"  
*ParamCustomJCLAccountLogin Login/Username: 1 string 0 31


Now, running:
lp -o "JCLAccountLogin={Test=blub} JCLARCoverPage=MPTPlain" somefile

Will crash the first filter that runs with a segfault. Using
JCLAccountLogin={Login=blub} or JCLAccountLogin=Custom.blub works fine
though.

Link: http://www.cups.org/str.php?L3620
Version: 1.4.4





More information about the cups mailing list