[poppler] Fix a problem with freeing of memory in PreScanOutputDev
mkasik
mkasik at fedoraproject.org
Wed Aug 17 15:35:41 UTC 2011
commit 203e34245f379f1c073ce9ac294b24bfbbd0c25c
Author: Marek Kasik <mkasik at redhat.com>
Date: Wed Aug 17 17:34:29 2011 +0200
Fix a problem with freeing of memory in PreScanOutputDev
poppler-0.17.0-free.patch | 11 +++++++++++
poppler.spec | 7 ++++++-
2 files changed, 17 insertions(+), 1 deletions(-)
---
diff --git a/poppler-0.17.0-free.patch b/poppler-0.17.0-free.patch
new file mode 100644
index 0000000..f56c981
--- /dev/null
+++ b/poppler-0.17.0-free.patch
@@ -0,0 +1,11 @@
+--- poppler-0.17.0/poppler/PreScanOutputDev.cc 2011-08-17 17:12:15.000000000 +0200
++++ poppler-0.17.0/poppler/PreScanOutputDev.cc 2011-08-17 17:12:21.000000000 +0200
+@@ -23,6 +23,8 @@
+ //
+ //========================================================================
+
++#include <config.h>
++
+ #ifdef USE_GCC_PRAGMAS
+ #pragma implementation
+ #endif
diff --git a/poppler.spec b/poppler.spec
index 676639e..363746a 100644
--- a/poppler.spec
+++ b/poppler.spec
@@ -2,7 +2,7 @@
Summary: PDF rendering library
Name: poppler
Version: 0.17.0
-Release: 1%{?dist}
+Release: 2%{?dist}
License: GPLv2
Group: Development/Libraries
URL: http://poppler.freedesktop.org/
@@ -13,6 +13,7 @@ Source0: http://poppler.freedesktop.org/poppler-%{version}.tar.gz
Patch1: poppler-0.12.4-annot-appearance.patch
## upstream patches
+Patch2: poppler-0.17.0-free.patch
Requires: poppler-data >= 0.4.0
@@ -121,6 +122,7 @@ converting PDF files to a number of other formats.
%setup -q
#%patch1 -p1 -b .annot
+%patch2 -p1 -b .free
chmod -x goo/GooTimer.h
@@ -220,6 +222,9 @@ rm -fv $RPM_BUILD_ROOT%{_libdir}/lib*.la
%changelog
+* Wed Aug 17 2011 Marek Kasik <mkasik at redhat.com> - 0.17.0-2
+- Fix a problem with freeing of memory in PreScanOutputDev (#730941)
+
* Fri Jul 15 2011 Marek Kasik <mkasik at redhat.com> - 0.17.0-1
- Update to 0.17.0
More information about the scm-commits
mailing list