Skip to content

Commit 2914b19

Browse files
authored
Fix ppdLutLoad() returning NULL due to undersized spec buffer (#72)
1 parent cdd7302 commit 2914b19

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ppd/ppd-load-profile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ ppdLutLoad(ppd_file_t *ppd, // I - PPD file
131131
void *ld) // I - Log function data
132132
{
133133
char name[PPD_MAX_NAME], // Attribute name
134-
spec[PPD_MAX_NAME]; // Attribute spec
134+
spec[IPP_MAX_NAME]; // Attribute spec
135135
ppd_attr_t *attr; // Attribute
136136
int nvals; // Number of values
137137
float vals[4]; // Values

0 commit comments

Comments
 (0)