From 740cdc423f7e9c39a1f6c4889342076c1ac72201 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Fri, 15 May 2009 09:02:47 +0000 Subject: [PATCH] - More complete fix for STR #3197 (bug #500859). --- cups-str3197.patch | 7 +++---- cups.spec | 5 ++++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/cups-str3197.patch b/cups-str3197.patch index 72cb6bf..20ee083 100644 --- a/cups-str3197.patch +++ b/cups-str3197.patch @@ -1,13 +1,12 @@ diff -up cups-1.4b2-svn8404/cups/ipp.c.str3197 cups-1.4b2-svn8404/cups/ipp.c --- cups-1.4b2-svn8404/cups/ipp.c.str3197 2009-02-17 17:45:27.000000000 +0000 -+++ cups-1.4b2-svn8404/cups/ipp.c 2009-05-14 16:08:22.329366931 +0100 -@@ -1431,7 +1431,8 @@ ippReadIO(void *src, /* I - Data ++++ cups-1.4b2-svn8404/cups/ipp.c 2009-05-15 09:56:48.558436055 +0100 +@@ -1431,7 +1431,7 @@ ippReadIO(void *src, /* I - Data case IPP_TAG_NOTSETTABLE : case IPP_TAG_DELETEATTR : case IPP_TAG_ADMINDEFINE : - if (attr->value_tag == IPP_TAG_NOVALUE) -+ if (attr->value_tag == IPP_TAG_NOVALUE || -+ attr->value_tag == IPP_TAG_DELETEATTR) ++ if (attr->value_tag == tag) { if (n == 0) break; diff --git a/cups.spec b/cups.spec index 12e4eb6..3aaf1dc 100644 --- a/cups.spec +++ b/cups.spec @@ -8,7 +8,7 @@ Summary: Common Unix Printing System Name: cups Version: 1.4 -Release: 0.%{pre}.17%{?dist} +Release: 0.%{pre}.18%{?dist} License: GPLv2 Group: System Environment/Daemons Source: ftp://ftp.easysw.com/pub/cups/test//cups-%{version}%{?pre}%{?svn}-source.tar.bz2 @@ -480,6 +480,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/php/modules/*.so %changelog +* Fri May 15 2009 Tim Waugh 1:1.4-0.b2.18 +- More complete fix for STR #3197 (bug #500859). + * Thu May 14 2009 Tim Waugh 1:1.4-0.b2.17 - Prevent cupsd crash when handling IPP_TAG_DELETEATTR requests (STR #3197, bug #500859).