]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 5.9 - patch 20121017
authorThomas E. Dickey <dickey@invisible-island.net>
Wed, 17 Oct 2012 09:57:52 +0000 (09:57 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Wed, 17 Oct 2012 09:57:52 +0000 (09:57 +0000)
+ fix change to _nc_scroll_optimize(), which incorrectly freed memory
  (Redhat #866989).

NEWS
dist.mk
ncurses/tty/hardscroll.c
package/debian/changelog
package/ncurses.spec

diff --git a/NEWS b/NEWS
index 1763402b028ec8a3124737e2e6420b0a894f7785..0e5e93a2713b814b79379d1a07e2c8828ead5eb9 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,7 +25,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.1963 2012/10/13 23:19:59 tom Exp $
+-- $Id: NEWS,v 1.1964 2012/10/17 09:31:53 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,10 @@ See the AUTHORS file for the corresponding full names.
 Changes through 1.9.9e did not credit all contributions;
 it is not possible to add this information.
 
+20121017
+       + fix change to _nc_scroll_optimize(), which incorrectly freed memory 
+         (Redhat #866989).
+
 20121013
        + add vte-2012, gnome-2012, making these the defaults for vte/gnome
          (patch by Christian Persch).
diff --git a/dist.mk b/dist.mk
index 993d58cac146c6d9b0c960f7fccbb7a53cf69758..f74ae8181b84eb431a71f5bf2c945928c30e0c5f 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -25,7 +25,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: dist.mk,v 1.896 2012/10/13 14:37:04 tom Exp $
+# $Id: dist.mk,v 1.897 2012/10/17 09:32:03 tom Exp $
 # Makefile for creating ncurses distributions.
 #
 # This only needs to be used directly as a makefile by developers, but
@@ -37,7 +37,7 @@ SHELL = /bin/sh
 # These define the major/minor/patch versions of ncurses.
 NCURSES_MAJOR = 5
 NCURSES_MINOR = 9
-NCURSES_PATCH = 20121013
+NCURSES_PATCH = 20121017
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
index 58c9655c2e82f2e131dd03b82242e3d1a6eb1487..4ec168a0028ecebf06e02e5ea36088c691574f5f 100644 (file)
@@ -147,7 +147,7 @@ AUTHOR
 
 #include <curses.priv.h>
 
-MODULE_ID("$Id: hardscroll.c,v 1.50 2012/09/01 23:24:49 tom Exp $")
+MODULE_ID("$Id: hardscroll.c,v 1.51 2012/10/17 09:01:10 tom Exp $")
 
 #if defined(SCROLLDEBUG) || defined(HASHDEBUG)
 
@@ -205,7 +205,6 @@ NCURSES_SP_NAME(_nc_scroll_optimize) (NCURSES_SP_DCL0)
                                       oldnums(SP_PARM));
        if (!new_oldnums)
            return;
-       FreeIfNeeded(oldnums(SP_PARM));
        oldnums(SP_PARM) = new_oldnums;
        OLDNUM_SIZE(SP_PARM) = need_lines;
     }
index 4472e7c8d69ecc5d1b88a6aeb1f13e8a01e25437..1480de82a2d312947ef67a89dd61b99988d99a2f 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (5.9-20121013) unstable; urgency=low
+ncurses6 (5.9-20121017) unstable; urgency=low
 
-  * latest weekly patch
+  * Redhat #866989
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 13 Oct 2012 19:21:12 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Wed, 17 Oct 2012 05:47:25 -0400
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
index 0f65e387dad9c816dc69a5b931b3082bd831c27b..846ffa6715fd99d0c7cce23b17232a3b45ab1257 100644 (file)
@@ -1,7 +1,7 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Release: 5.9
-Version: 20121013
+Version: 20121017
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{release}-%{version}.tgz