From 9deaf318d57e63787585162539720eb46e4cce61 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Feb 07 2006 11:04:29 +0000 Subject: apply patch to fix buffer overflow in kpdf, CVE-2006-0301 (#179425) --- diff --git a/kdegraphics.spec b/kdegraphics.spec index 9243cc5..656667d 100644 --- a/kdegraphics.spec +++ b/kdegraphics.spec @@ -16,7 +16,7 @@ %define disable_gcc_check_and_hidden_visibility 1 Version: 3.5.1 -Release: 1 +Release: 2 Name: kdegraphics Summary: K Desktop Environment - Graphics Applications Epoch: 7 @@ -33,6 +33,9 @@ Patch2: kdegraphics-3.3.1-xorg.patch # upstream patches Patch50: kdegraphics-3.5.1-kpdf.patch +# security patches +Patch100: post-3.5.1-kdegraphics-CVE-2006-0301.diff + %ifnarch %{no_scanner_archs} BuildRequires: sane-backends-devel >= 1.0.3-10 BuildRequires: gphoto2-devel @@ -267,9 +270,12 @@ This package contains a model editor for the PovRay raytracer. %patch1 -p1 -b .misc %patch2 -p1 -b .xorg -# uĆ¼stream patches +# upstream patches %patch50 -p1 -b .kpdf +# security patches +%patch100 -p0 -b .CVE-2006-0301 + %if %{rhel} echo "DO_NOT_COMPILE=\"\$DO_NOT_COMPILE kfax\"" >kfax/configure.in.in echo "DO_NOT_COMPILE=\"\$DO_NOT_COMPILE kfaxview\"" >kfaxview/configure.in.in @@ -287,7 +293,7 @@ This package contains a model editor for the PovRay raytracer. %build export PATH=`pwd`:$PATH export CFLAGS="$RPM_OPT_FLAGS" -export CXXFLAGS="$RPM_OPT_FLAGS -fno-use-cxa-atexit" +export CXXFLAGS="$RPM_OPT_FLAGS" export KDEDIR=%{_prefix} unset QTDIR || : ; . /etc/profile.d/qt.sh @@ -367,6 +373,9 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/kde/* %changelog +* Tue Feb 07 2006 Than Ngo 7:3.5.1-2 +- apply patch to fix buffer overflow in kpdf, CVE-2006-0301 (#179425) + * Sat Feb 04 2006 Than Ngo 7:3.5.1-1 - 3.5.1