- Fixed use-after-free in `cupsdAcceptClient()` when we log warning during error
handling (fixes CVE-2023-34241)
- Fixed hanging of `lpstat` on Solaris (Issue #156)
+- Fixed mapping of PPD InputSlot, MediaType, and OutputBin values (Issue #238)
- Fixed Digest authentication support (Issue #260)
- Fixed the web interface not showing an error for a non-existent printer
(Issue #423)
return (NULL);
for (i = 0; i < pc->num_sources; i ++)
- if (!_cups_strcasecmp(keyword, pc->sources[i].pwg))
+ if (!_cups_strcasecmp(keyword, pc->sources[i].pwg) || !_cups_strcasecmp(keyword, pc->sources[i].ppd))
return (pc->sources[i].ppd);
return (NULL);
int i; /* Looping var */
for (i = 0; i < pc->num_types; i ++)
- if (!_cups_strcasecmp(keyword, pc->types[i].pwg))
+ if (!_cups_strcasecmp(keyword, pc->types[i].pwg) || !_cups_strcasecmp(keyword, pc->types[i].ppd))
return (pc->types[i].ppd);
}
for (i = 0; i < pc->num_bins; i ++)
- if (!_cups_strcasecmp(output_bin, pc->bins[i].pwg))
+ if (!_cups_strcasecmp(output_bin, pc->bins[i].pwg) || !_cups_strcasecmp(output_bin, pc->bins[i].ppd))
return (pc->bins[i].ppd);
return (NULL);