Changes in CUPS v2.3b8
----------------------
+- The lpadmin command would hang with a bad PPD file (rdar://41495016)
- Fixed a potential crash bug in cups-driverd (rdar://46625579)
- Fixed a performance regression with large PPDs (rdar://47040759)
- The `ippValidateAttribute` function did not catch all instances of invalid
/* Status code */
_cupsLangPrintf(stderr, _("lpadmin: Unable to open PPD \"%s\": %s on line %d."), ppdfile, ppdErrorString(status), linenum);
+ return (1);
}
ppdMarkDefaults(ppd);
if ((in = cupsFileOpen(ppdfile, "r")) == NULL)
{
- _cupsLangPrintf(stderr,
- _("lpadmin: Unable to open PPD file \"%s\" - %s"),
- ppdfile, strerror(errno));
+ _cupsLangPrintf(stderr, _("lpadmin: Unable to open PPD \"%s\": %s"), ppdfile, strerror(errno));
ippDelete(request);
if (ppdfile != file)
unlink(ppdfile);