Blame SOURCES/cups-rastertoepson-crash.patch

edc0eb
diff --git a/filter/rastertoepson.c b/filter/rastertoepson.c
edc0eb
index 4efe669..e8fe0c6 100644
edc0eb
--- a/filter/rastertoepson.c
edc0eb
+++ b/filter/rastertoepson.c
edc0eb
@@ -307,7 +307,7 @@ StartPage(
edc0eb
 
edc0eb
   if (DotBytes)
edc0eb
   {
edc0eb
-    if ((LineBuffers[0] = calloc((size_t)DotBytes, header->cupsWidth * (size_t)(Shingling + 1))) == NULL)
edc0eb
+    if ((LineBuffers[0] = calloc((size_t)DotBytes, (header->cupsWidth + 7) * (size_t)(Shingling + 1))) == NULL)
edc0eb
     {
edc0eb
       fputs("ERROR: Unable to allocate memory\n", stderr);
edc0eb
       exit(1);