-CHANGES - 2.2.11 - 2018-12-14
+CHANGES - 2.2.11 - 2019-01-09
=============================
Changes in CUPS v2.2.11
- Running ppdmerge with the same input and output filenames did not work as
advertised (Issue #5455)
+- Fixed a potential memory leak when reading at the end of a file (Issue #5473)
- Fixed a potential crash bug in cups-driverd (rdar://46625579)
return (-1);
}
+ if (fp->eof)
+ {
+ DEBUG_puts("5cupsFileGetChar: End-of-file!");
+ return (-1);
+ }
+
/*
* If the input buffer is empty, try to read more data...
*/
if (bytes == 0)
return (0);
+ if (fp->eof)
+ {
+ DEBUG_puts("5cupsFileRead: End-of-file!");
+ return (-1);
+ }
+
/*
* Loop until all bytes are read...
*/