texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo ChangeLog info/filesys.c


From: Sergey Poznyakoff
Subject: texinfo ChangeLog info/filesys.c
Date: Wed, 13 Feb 2013 19:16:39 +0000

CVSROOT:        /cvsroot/texinfo
Module name:    texinfo
Changes by:     Sergey Poznyakoff <gray>        13/02/13 19:16:39

Modified files:
        .              : ChangeLog 
        info           : filesys.c 

Log message:
        One more fix.
        
        * info/filesys.c (filesys_read_info_file): Always terminate the 
contents with 0.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/ChangeLog?cvsroot=texinfo&r1=1.1549&r2=1.1550
http://cvs.savannah.gnu.org/viewcvs/texinfo/info/filesys.c?cvsroot=texinfo&r1=1.18&r2=1.19

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/texinfo/texinfo/ChangeLog,v
retrieving revision 1.1549
retrieving revision 1.1550
diff -u -b -r1.1549 -r1.1550
--- ChangeLog   13 Feb 2013 07:38:19 -0000      1.1549
+++ ChangeLog   13 Feb 2013 19:16:39 -0000      1.1550
@@ -5,6 +5,8 @@
        * info/window.c (window_make_window): Initialize allocated
        memory.
        (string_to_node): Likewise.
+       * info/filesys.c (filesys_read_info_file): Always terminate
+       the contents with 0.
 
 2013-02-12  Karl Berry  <address@hidden>
 

Index: info/filesys.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/info/filesys.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -b -r1.18 -r1.19
--- info/filesys.c      17 Nov 2012 17:16:18 -0000      1.18
+++ info/filesys.c      13 Feb 2013 19:16:39 -0000      1.19
@@ -1,5 +1,5 @@
 /* filesys.c -- filesystem specific functions.
-   $Id: filesys.c,v 1.18 2012/11/17 17:16:18 gray Exp $
+   $Id: filesys.c,v 1.19 2013/02/13 19:16:39 gray Exp $
 
    Copyright 1993, 1997, 1998, 2000, 2002, 2003, 2004, 2007, 2008, 2009, 2011,
    2012 Free Software Foundation, Inc.
@@ -634,7 +634,7 @@
          free (contents);
          return NULL;
         }
-
+      contents[fsize] = 0;
       close (descriptor);
     }
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]