git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12572
a1ca3aef-8c08-0410-bb20-
df032aa958be
- Restored missing generic printer icon file (STR #4587)
- Fixed logging of configuration errors to show up as errors (STR #4582)
- Fixed potential buffer overflows in raster code and filters
- (STR #4598, STR #4599)
+ (STR #4598, STR #4599, STR #4600)
- Added Russian translation (STR #4577)
if (header->cupsCompression || DotBytes)
{
- if ((CompBuffer = calloc(2, header->cupsWidth)) == NULL)
+ if ((CompBuffer = calloc(2, header->cupsWidth + 1)) == NULL)
{
fputs("ERROR: Unable to allocate memory\n", stderr);
exit(1);