[cups.bugs] [HIGH] STR #2980: LSPP labels are incorrect on output under Linux

Matt Anderson mra at hp.com
Thu Oct 23 16:24:50 PDT 2008


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

[STR New]

Part of the LSPP linux evaluation was an enhancement to the common.c filter
code to allow long security labels to line wrap in order to not lose
information that would otherwise spill off the printed edge of the page. 
When pstops.c was changed to use write_label_prolog() instead of
WriteLabelProlog() from common.c these modifications were lost.

In order to not line wrap existing long Classification labels the
scheduler code was modified to prepend the string "LSPP:" at the beginning
of the CLASSIFICATION variable and the strip that off in the common.c
WriteLabelProlog() function.

The LSPP patch can be modified to also patch pstops.c in the same way, but
what might be better is if the line wrapping code was accepted upstream,
and then the LSPP patch can be modified to just pass the security label on
to the filter and expect it to always line wrap if needed.

Link: http://www.cups.org/str.php?L2980
Version: 1.3.9
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: common-c.patch
URL: <http://lists.cups.org/pipermail/cups-devel/attachments/20081023/16f3c68c/attachment.ksh>


More information about the cups-devel mailing list