[cups.bugs] [LOW] STR #1929: Correct PPD gets uploaded as incorrect PPD

twaugh.redhat twaugh at redhat.com
Wed Aug 23 09:18:12 PDT 2006


[STR New]

The copy_model() function (see scheduler/ipp.c:4129) copies PPD defaults
from the original PPD into the new PPD, and does this even for enums that
have no matching option choice.  This causes the PPD to fail cupstestppd,
and can have all sorts of bad effects.

The real-life example is the InputSlot option.  One PPD might have a
'Middle' option choice, and it may even be the default, but another may
not have a 'Middle' InputSlot option choice at all.  But uploading a new
PPD in place of the 'Middle'-InputSlot PPD will result in a PPD where
'Middle' is selected but is not a choice.

Link: http://www.cups.org/str.php?L1929
Version: 1.2.2





More information about the cups mailing list