rpms/cups/F-8 cups-str2600.patch,NONE,1.1 cups.spec,1.373,1.374

Tim Waugh (twaugh) fedora-extras-commits at redhat.com
Tue Nov 20 13:44:15 UTC 2007


Author: twaugh

Update of /cvs/pkgs/rpms/cups/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22916

Modified Files:
	cups.spec 
Added Files:
	cups-str2600.patch 
Log Message:
* Tue Nov 20 2007 Tim Waugh <twaugh at redhat.com> 1:1.3.4-4
- Added fix for STR #2600 in which cupsd can crash from a NULL dereference
  with LogLevel debug2 (bug #385631).


cups-str2600.patch:

--- NEW FILE cups-str2600.patch ---
diff -up cups-1.3.4/scheduler/ipp.c.str2600 cups-1.3.4/scheduler/ipp.c
--- cups-1.3.4/scheduler/ipp.c.str2600	2007-11-20 12:24:33.000000000 +0000
+++ cups-1.3.4/scheduler/ipp.c	2007-11-20 12:24:35.000000000 +0000
@@ -1280,7 +1280,8 @@ add_job(cupsd_client_t  *con,		/* I - Cl
 
   cupsdLogMessage(CUPSD_LOG_DEBUG2, "add_job(%p[%d], %p(%s), %p(%s/%s))",
                   con, con->http.fd, printer, printer->name,
-		  filetype, filetype->super, filetype->type);
+		  filetype, filetype ? filetype->super : "?",
+		  filetype ? filetype->type : "?");
 
  /*
   * Check remote printing to non-shared printer...


Index: cups.spec
===================================================================
RCS file: /cvs/pkgs/rpms/cups/F-8/cups.spec,v
retrieving revision 1.373
retrieving revision 1.374
diff -u -r1.373 -r1.374
--- cups.spec	12 Nov 2007 18:54:03 -0000	1.373
+++ cups.spec	20 Nov 2007 13:43:42 -0000	1.374
@@ -6,7 +6,7 @@
 Summary: Common Unix Printing System
 Name: cups
 Version: 1.3.4
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: GPLv2
 Group: System Environment/Daemons
 Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}-source.tar.bz2
@@ -41,6 +41,7 @@
 Patch15: cups-undo-str2537.patch
 Patch16: cups-pid.patch
 Patch17: cups-foomatic-recommended.patch
+Patch18: cups-str2600.patch
 Patch19: cups-eggcups.patch
 Patch20: cups-getpass.patch
 Patch21: cups-driverd-timeout.patch
@@ -154,6 +155,7 @@
 %patch15 -p1 -b .undo-str2537
 %patch16 -p1 -b .pid
 %patch17 -p1 -b .foomatic-recommended
+%patch18 -p1 -b .str2600
 %patch19 -p1 -b .eggcups
 %patch20 -p1 -b .getpass
 %patch21 -p1 -b .driverd-timeout
@@ -451,6 +453,10 @@
 %{cups_serverbin}/daemon/cups-lpd
 
 %changelog
+* Tue Nov 20 2007 Tim Waugh <twaugh at redhat.com> 1:1.3.4-4
+- Added fix for STR #2600 in which cupsd can crash from a NULL dereference
+  with LogLevel debug2 (bug #385631).
+
 * Mon Nov 12 2007 Tim Waugh <twaugh at redhat.com> 1:1.3.4-3
 - Fixed CVE-2007-4045 patch; has no effect with shipped packages since they
   are linked with gnutls.




More information about the fedora-extras-commits mailing list