Merge branch 'f14' into f15
This commit is contained in:
commit
00cb2eb4b0
12
foomatic-filters-CVE-2011-2924.patch
Normal file
12
foomatic-filters-CVE-2011-2924.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up foomatic-filters-4.0.8/renderer.c.CVE-2011-2924 foomatic-filters-4.0.8/renderer.c
|
||||||
|
--- foomatic-filters-4.0.8/renderer.c.CVE-2011-2924 2011-07-25 10:50:57.000000000 +0100
|
||||||
|
+++ foomatic-filters-4.0.8/renderer.c 2011-08-18 12:12:36.758458765 +0100
|
||||||
|
@@ -434,7 +434,7 @@ int exec_kid3(FILE *in, FILE *out, void
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Save the data supposed to be fed into the renderer also into a file*/
|
||||||
|
- dstrprepend(commandline, "tee -a " LOG_FILE ".ps | ( ");
|
||||||
|
+ dstrprepend(commandline, "tee $(mktemp " LOG_FILE "-XXXXXX.ps) | ( ");
|
||||||
|
dstrcat(commandline, ")");
|
||||||
|
}
|
||||||
|
|
@ -4,7 +4,7 @@
|
|||||||
Summary: Tools for using the foomatic database of printers and printer drivers
|
Summary: Tools for using the foomatic database of printers and printer drivers
|
||||||
Name: foomatic
|
Name: foomatic
|
||||||
Version: %{enginever}
|
Version: %{enginever}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
|
|
||||||
@ -15,6 +15,7 @@ Source0: http://www.openprinting.org/download/foomatic/foomatic-db-engine-%{engi
|
|||||||
Source1: http://www.openprinting.org/download/foomatic/foomatic-filters-%{filtersver}.tar.gz
|
Source1: http://www.openprinting.org/download/foomatic/foomatic-filters-%{filtersver}.tar.gz
|
||||||
|
|
||||||
## PATCHES FOR FOOMATIC-FILTERS (PATCHES 1 TO 100)
|
## PATCHES FOR FOOMATIC-FILTERS (PATCHES 1 TO 100)
|
||||||
|
Patch1: foomatic-filters-CVE-2011-2924.patch
|
||||||
|
|
||||||
## PATCHES FOR FOOMATIC-DB-ENGINE (PATCHES 101 TO 200)
|
## PATCHES FOR FOOMATIC-DB-ENGINE (PATCHES 101 TO 200)
|
||||||
|
|
||||||
@ -73,6 +74,10 @@ CUPS print filters for the foomatic package.
|
|||||||
%setup -q -c -a 1
|
%setup -q -c -a 1
|
||||||
|
|
||||||
pushd foomatic-filters-%{filtersver}
|
pushd foomatic-filters-%{filtersver}
|
||||||
|
# Use mktemp when creating debug log file in foomatic-rip
|
||||||
|
# (CVE-2011-2924, bug #726426).
|
||||||
|
%patch1 -p1 -b .CVE-2011-2924
|
||||||
|
|
||||||
aclocal
|
aclocal
|
||||||
automake --add-missing
|
automake --add-missing
|
||||||
autoconf
|
autoconf
|
||||||
@ -179,6 +184,10 @@ rm -fr %buildroot $RPM_BUILD_DIR/%{name}
|
|||||||
%{_mandir}/man1/foomatic-rip.1*
|
%{_mandir}/man1/foomatic-rip.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Aug 18 2011 Tim Waugh <twaugh@redhat.com> - 4.0.8-2
|
||||||
|
- Use mktemp when creating debug log file in foomatic-rip
|
||||||
|
(CVE-2011-2924, bug #726426).
|
||||||
|
|
||||||
* Mon Jul 25 2011 Jiri Popelka <jpopelka@redhat.com> - 4.0.8-1
|
* Mon Jul 25 2011 Jiri Popelka <jpopelka@redhat.com> - 4.0.8-1
|
||||||
- 4.0.8 (all patches merged upstream)
|
- 4.0.8 (all patches merged upstream)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user