rpms/cups/FC-5 cups-wbuffer.patch,NONE,1.1 cups.spec,1.221,1.222

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Sep 13 15:44:35 UTC 2006


Author: twaugh

Update of /cvs/dist/rpms/cups/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv23123

Modified Files:
	cups.spec 
Added Files:
	cups-wbuffer.patch 
Log Message:
* Wed Sep 13 2006 Tim Waugh <twaugh at redhat.com> 1:1.2.3-1.5
- Try a small http.c fix (bug #205619).


cups-wbuffer.patch:
 http.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

--- NEW FILE cups-wbuffer.patch ---
--- 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));


Index: cups.spec
===================================================================
RCS file: /cvs/dist/rpms/cups/FC-5/cups.spec,v
retrieving revision 1.221
retrieving revision 1.222
diff -u -r1.221 -r1.222
--- cups.spec	13 Sep 2006 10:23:43 -0000	1.221
+++ cups.spec	13 Sep 2006 15:44:33 -0000	1.222
@@ -5,7 +5,7 @@
 Summary: Common Unix Printing System
 Name: cups
 Version: 1.2.3
-Release: 1.4
+Release: 1.5
 License: GPL
 Group: System Environment/Daemons
 Source: ftp://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
@@ -30,6 +30,7 @@
 Patch8: cups-logfileperm.patch
 Patch9: cups-1.1.17-rcp.patch
 Patch10: cups-1.1.17-ppdsdat.patch
+Patch11: cups-wbuffer.patch
 Patch12: cups-locale.patch
 Patch17: cups-serverbin-compat.patch
 Patch18: cups-language.patch
@@ -125,6 +126,7 @@
 %patch8 -p1 -b .logfileperm
 %patch9 -p1 -b .rcp
 %patch10 -p1 -b .ppdsdat
+%patch11 -p1 -b .wbuffer
 %patch12 -p1 -b .locale
 %patch17 -p1 -b .serverbin-compat
 %patch18 -p1 -b .language
@@ -407,6 +409,9 @@
 %{cups_serverbin}/daemon/cups-lpd
 
 %changelog
+* Wed Sep 13 2006 Tim Waugh <twaugh at redhat.com> 1:1.2.3-1.5
+- Try a small http.c fix (bug #205619).
+
 * Wed Sep 13 2006 Tim Waugh <twaugh at redhat.com> 1:1.2.3-1.4
 - Define DEBUG in cups/http.c and cups/request.c.
 




More information about the fedora-cvs-commits mailing list