[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo ChangeLog info/window.c
From: |
Sergey Poznyakoff |
Subject: |
texinfo ChangeLog info/window.c |
Date: |
Wed, 13 Feb 2013 07:38:20 +0000 |
CVSROOT: /cvsroot/texinfo
Module name: texinfo
Changes by: Sergey Poznyakoff <gray> 13/02/13 07:38:20
Modified files:
. : ChangeLog
info : window.c
Log message:
Fix Bug#700354.
* info/window.c (window_make_window): Initialize allocated
memory.
(string_to_node): Likewise.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.1548&r2=1.1549
http://cvs.savannah.gnu.org/viewcvs/texinfo/info/window.c?cvsroot=texinfo&r1=1.27&r2=1.28
Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/texinfo/texinfo/ChangeLog,v
retrieving revision 1.1548
retrieving revision 1.1549
diff -u -b -r1.1548 -r1.1549
--- ChangeLog 12 Feb 2013 17:29:46 -0000 1.1548
+++ ChangeLog 13 Feb 2013 07:38:19 -0000 1.1549
@@ -1,3 +1,11 @@
+2013-02-13 Sergey Poznyakoff <address@hidden>
+
+ Fix Bug#700354.
+
+ * info/window.c (window_make_window): Initialize allocated
+ memory.
+ (string_to_node): Likewise.
+
2013-02-12 Karl Berry <address@hidden>
* pretest 4.13.97.
Index: info/window.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/info/window.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -b -r1.27 -r1.28
--- info/window.c 11 Jan 2013 18:28:56 -0000 1.27
+++ info/window.c 13 Feb 2013 07:38:19 -0000 1.28
@@ -1,5 +1,5 @@
/* window.c -- windows in Info.
- $Id: window.c,v 1.27 2013/01/11 18:28:56 karl Exp $
+ $Id: window.c,v 1.28 2013/02/13 07:38:19 gray Exp $
Copyright 1993, 1997, 1998, 2001, 2002, 2003, 2004, 2007, 2008,
2011, 2012, 2013 Free Software Foundation, Inc.
@@ -293,7 +293,7 @@
chain cannot start at window->height, since that is where the modeline
for the previous window is displayed. The inverse adjustment is made
in window_delete_window (). */
- window = xmalloc (sizeof (WINDOW));
+ window = xzalloc (sizeof (WINDOW));
window->width = the_screen->width;
window->height = (active_window->height / 2) - 1;
#if defined (SPLIT_BEFORE_ACTIVE)
@@ -1293,7 +1293,7 @@
{
NODE *node;
- node = xmalloc (sizeof (NODE));
+ node = xzalloc (sizeof (NODE));
node->filename = NULL;
node->parent = NULL;
node->nodename = NULL;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo ChangeLog info/window.c,
Sergey Poznyakoff <=