Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: pu X-Debbugs-CC: 714247@bugs.debian.org ghostscript from wheezy shipped with a regression (#714247) that causes an infinite loop with some files. I would like to get this fixed in the next point release. I have attached a debdiff that I have tested and fixes the issue. Jonas Smedegaard has acked the update on IRC. -- bye, pabs http://wiki.debian.org/PaulWise
diff -Nru ghostscript-9.05~dfsg/debian/changelog ghostscript-9.05~dfsg/debian/changelog
--- ghostscript-9.05~dfsg/debian/changelog 2012-11-26 03:23:28.000000000 +1030
+++ ghostscript-9.05~dfsg/debian/changelog 2013-07-01 23:29:00.000000000 +0930
@@ -1,3 +1,9 @@
+ghostscript (9.05~dfsg-6.3+deb7u1) wheezy; urgency=low
+
+ * Backport infinite loop patch (Closes: #714247)
+
+ -- Paul Wise <pabs@debian.org> Mon, 01 Jul 2013 23:28:32 +0930
+
ghostscript (9.05~dfsg-6.3) unstable; urgency=low
* Non-maintainer upload.
diff -Nru ghostscript-9.05~dfsg/debian/patches/fix-infinite-loop.patch ghostscript-9.05~dfsg/debian/patches/fix-infinite-loop.patch
--- ghostscript-9.05~dfsg/debian/patches/fix-infinite-loop.patch 1970-01-01 09:30:00.000000000 +0930
+++ ghostscript-9.05~dfsg/debian/patches/fix-infinite-loop.patch 2013-07-01 23:26:54.000000000 +0930
@@ -0,0 +1,20 @@
+From: Alex Cherepanov <alex.cherepanov@artifex.com>
+Date: Sun, 9 Sep 2012 22:43:52 +0000 (-0400)
+Subject: Bug 693045: Correctly restore PS stack when PDF stream run aborts.
+Origin: upstream, commit:3a56f4eb5a9f15795725374b297edab0fb8ebc5d
+Applied-Upstream: 9.07rc1
+Bug: http://bugs.ghostscript.com/show_bug.cgi?id=693045
+--- a/Resource/Init/pdf_draw.ps
++++ b/Resource/Init/pdf_draw.ps
+@@ -1773,9 +1773,8 @@ currentdict /last-ditch-bpc-csp undef
+ ] cvx /PaintProc exch put
+ % Adjust pdfemptycount since we have an extra dictionary on the stack
+ pdfemptycount countdictstack 3 -1 roll
+- /pdfemptycount count 2 sub store
+- q execform % gsave / grestore around the Form
+-
++ /pdfemptycount count 3 sub store
++ /q cvx /execform cvx 5 -2 roll 4 .execn
+ % Restore pdfemptycount
+ 0
+ { countdictstack
diff -Nru ghostscript-9.05~dfsg/debian/patches/series ghostscript-9.05~dfsg/debian/patches/series
--- ghostscript-9.05~dfsg/debian/patches/series 2012-11-26 02:18:34.000000000 +1030
+++ ghostscript-9.05~dfsg/debian/patches/series 2013-07-01 23:26:54.000000000 +0930
@@ -8,3 +8,4 @@
2002_gs_man_fix_debian.patch
2003_support_multiarch.patch
CVE-2012-4405.patch
+fix-infinite-loop.patch
Attachment:
signature.asc
Description: This is a digitally signed message part