Sophie

Sophie

distrib > Scientific%20Linux > 5x > x86_64 > by-pkgid > b2b31f8f12ce25fb0a2128354ea26724 > files > 72

cups-1.3.7-30.el5.src.rpm

--- cups-1.2.3/cups/http.c.wbuffer	2006-09-13 16:41:57.000000000 +0100
+++ cups-1.2.3/cups/http.c	2006-09-13 16:42:23.000000000 +0100
@@ -1886,7 +1886,7 @@
 
   if (length > 0)
   {
-    if (http->wused && (length + http->wused) > sizeof(http->wbuffer))
+    if (http->wused && (length + http->wused) >= sizeof(http->wbuffer))
     {
       DEBUG_printf(("    flushing buffer (wused=%d, length=%d)\n",
                     http->wused, length));