Blame SOURCES/a2ps-overrun-static.patch

8f1c6e
diff -up a2ps-4.14/lib/metaseq.c.overrun-static a2ps-4.14/lib/metaseq.c
8f1c6e
--- a2ps-4.14/lib/metaseq.c.overrun-static	2011-08-10 16:18:44.924915695 +0100
8f1c6e
+++ a2ps-4.14/lib/metaseq.c	2011-08-10 16:19:04.739555258 +0100
8f1c6e
@@ -334,7 +334,7 @@ grow_user_string_obstack (struct obstack
8f1c6e
 	      {
8f1c6e
 		/* `%D{}' format run date with strftime() */
8f1c6e
 		for (j = 0, i += 2;
8f1c6e
-		     j < sizeof (buf2) && str[i] && str[i] != '}';
8f1c6e
+		     j < sizeof (buf2) - 1 && str[i] && str[i] != '}';
8f1c6e
 		     i++, j++)
8f1c6e
 		  buf2[j] = str[i];
8f1c6e
 		if (str[i] != '}')