bug-libtool
[Top][All Lists]
Advanced

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

fix UMR in preopen.c get_vtable


From: Ralf Wildenhues
Subject: fix UMR in preopen.c get_vtable
Date: Tue, 31 Aug 2004 17:25:59 +0200
User-agent: Mutt/1.4.1i

2004-08-31 Ralf Wildenhues <address@hidden>

        * libltdl/loaders/preopen.c: Initialise memory in get_vtable.

Index: libltdl/loaders/preopen.c
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/loaders/preopen.c,v
retrieving revision 1.4
diff -u -r1.4 preopen.c
--- libltdl/loaders/preopen.c   15 Jul 2004 12:33:20 -0000      1.4
+++ libltdl/loaders/preopen.c   31 Aug 2004 15:18:28 -0000
@@ -58,7 +58,7 @@
 
   if (!vtable)
     {
-      vtable = lt__malloc (sizeof *vtable);
+      vtable = lt__zalloc (sizeof *vtable);
     }
 
   if (vtable && !vtable->name)






reply via email to

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