[cups.bugs] [LOW] STR #2877: Increase device_id field length in ppd_rec_t
twaugh.redhat
twaugh at redhat.com
Thu Jul 10 02:11:33 PDT 2008
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
In scheduler/cups-driverd.cxx, the allocation for ppd_rec_t:device_id is
not sufficient. It only holds 128 bytes, whereas there are existing
devices that already supply longer IDs than that.
For example:
MFG:Hewlett-Packard;MDL:HP LaserJet P3005
Series;CMD:PJL,MLC,BIDI-ECP,PCL,POSTSCRIPT,PCLXL;DES:Hewlett-Packard
LaserJet P3005 Series;
(133 bytes)
I suggest increasing this field from 128 bytes to at least 256.
Link: http://www.cups.org/str.php?L2877
Version: 1.4-current
More information about the cups
mailing list