- Fixed a regression in the changes to ippValidateAttribute (Issue #5322,
Issue #5330)
+- Fixed a crash bug in the Epson dot matrix driver (Issue #5323)
- The web interface did not list the IPP Everywhere "driver" (Issue #5338)
- Fixed a memory leak for some IPP (extension) syntaxes.
/*
* EPSON ESC/P and ESC/P2 filter for CUPS.
*
- * Copyright 2007-2015 by Apple Inc.
+ * Copyright 2007-2018 by Apple Inc.
* Copyright 1993-2007 by Easy Software Products.
*
* These coded instructions, statements, and computer programs are the
if (DotBytes)
{
- if ((LineBuffers[0] = calloc((size_t)DotBytes, header->cupsWidth * (size_t)(Shingling + 1))) == NULL)
+ if ((LineBuffers[0] = calloc((size_t)DotBytes, (header->cupsWidth + 7) * (size_t)(Shingling + 1))) == NULL)
{
fputs("ERROR: Unable to allocate memory\n", stderr);
exit(1);