Blame SOURCES/a2ps-overrun-dynamic.patch

f97431
diff -up a2ps-4.14/lib/darray.c.overrun-dynamic a2ps-4.14/lib/darray.c
f97431
--- a2ps-4.14/lib/darray.c.overrun-dynamic	2011-08-10 16:16:49.607014904 +0100
f97431
+++ a2ps-4.14/lib/darray.c	2011-08-10 16:17:10.965625881 +0100
f97431
@@ -430,7 +430,7 @@ da_qsort (struct darray * arr)
f97431
 	  jstack += 2;
f97431
 	  /* Push pointers to larger subarry on stack.
f97431
 	   * Process smaller subarrays now	*/
f97431
-	  if (jstack > QSORT_STACK)
f97431
+	  if (jstack >= QSORT_STACK)
f97431
 	    error (da_exit_error, 0, "da_qsort: QSORT_STACK too small (%d)",
f97431
 			   QSORT_STACK);
f97431
 	  if (ir - i + 1 >= j - l) {
f97431
@@ -509,7 +509,7 @@ da_qsort_with_arg (struct darray * arr, 
f97431
 	  jstack += 2;
f97431
 	  /* Push pointers to larger subarry on stack.
f97431
 	   * Process smaller subarrays now	*/
f97431
-	  if (jstack > QSORT_STACK)
f97431
+	  if (jstack >= QSORT_STACK)
f97431
 	    error (da_exit_error, 0, "da_qsort: QSORT_STACK too small (%d)",
f97431
 			   QSORT_STACK);
f97431
 	  if (ir - i + 1 >= j - l) {