Package: release.debian.org Severity: normal User: release.debian.org@packages.debian.org Usertags: unblock Sorry to bother you again with ncurses, but I would like to get 5.7+20100313-4 into squeeze to fix bug #597175. This is effectively a one line change to the previous version cherry-picked from upstream. Full debdiff is attached for reference, the relevant commit in our git repository can be found at [1]. unblock ncurses/5.7+20100313-4 1. http://git.debian.org/?p=collab-maint/ncurses.git;a=commit;h=824d808291ae3071ea7e66cd9be62e17a2eb0e30
reverted:
--- ncurses-5.7+20100313/debian/lib64ncurses5.debhelper.log
+++ ncurses-5.7+20100313.orig/debian/lib64ncurses5.debhelper.log
@@ -1 +0,0 @@
-dh_prep
reverted:
--- ncurses-5.7+20100313/debian/lib64ncurses5-dev.debhelper.log
+++ ncurses-5.7+20100313.orig/debian/lib64ncurses5-dev.debhelper.log
@@ -1 +0,0 @@
-dh_prep
diff -u ncurses-5.7+20100313/debian/changelog ncurses-5.7+20100313/debian/changelog
--- ncurses-5.7+20100313/debian/changelog
+++ ncurses-5.7+20100313/debian/changelog
@@ -1,3 +1,11 @@
+ncurses (5.7+20100313-4) unstable; urgency=low
+
+ * New patch 09-fix-delscreen-segfault.diff taken from upstream
+ patchlevel 20100501, fixes a segfault or infinite loop in applications
+ using multiple screens (Closes: #597175).
+
+ -- Sven Joachim <svenjoac@gmx.de> Tue, 28 Sep 2010 07:08:17 +0200
+
ncurses (5.7+20100313-3) unstable; urgency=low
* Fix dangling symlinks in ncurses-term that were introduced by the
diff -u ncurses-5.7+20100313/debian/patches/series ncurses-5.7+20100313/debian/patches/series
--- ncurses-5.7+20100313/debian/patches/series
+++ ncurses-5.7+20100313/debian/patches/series
@@ -6,0 +7 @@
+09-fix-delscreen-segfault.diff
only in patch2:
unchanged:
--- ncurses-5.7+20100313.orig/debian/patches/09-fix-delscreen-segfault.diff
+++ ncurses-5.7+20100313/debian/patches/09-fix-delscreen-segfault.diff
@@ -0,0 +1,20 @@
+Description: Fix segfault or infinite loop in delscreen()
+ Patch taken from upstream patchlevel 20100501.
+Bug-Debian: http://bugs.debian.org/597175
+Author: Thomas Dickey <dickey@his.com>
+Last-Update: 2010-09-17
+---
+ ncurses/base/lib_set_term.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/ncurses/base/lib_set_term.c
++++ b/ncurses/base/lib_set_term.c
+@@ -117,7 +117,7 @@
+ for (each_screen(temp)) {
+ if (temp == sp) {
+ if (last)
+- last = sp->_next_screen;
++ last->_next_screen = sp->_next_screen;
+ else
+ _nc_screen_chain = sp->_next_screen;
+ result = TRUE;
Attachment:
pgpOrM_3JfVst.pgp
Description: PGP signature