[DVDnav-discuss] r1072 - trunk/libdvdnav/src/remap.c

nicodvb subversion at mplayerhq.hu
Thu Jun 5 12:27:01 CEST 2008


Author: nicodvb
Date: Thu Jun  5 12:27:01 2008
New Revision: 1072

Log:
in remap_loadmap() memzero tmp before using it; patch by Erik Hovland org

Modified:
   trunk/libdvdnav/src/remap.c

Modified: trunk/libdvdnav/src/remap.c
==============================================================================
--- trunk/libdvdnav/src/remap.c	(original)
+++ trunk/libdvdnav/src/remap.c	Thu Jun  5 12:27:01 2008
@@ -200,6 +200,7 @@ remap_t* remap_loadmap( char *title) {
     block_t tmp;
     remap_t *map;
 
+    memset(&tmp, 0, sizeof(tmp));
     /* Build the map filename */
     home = getenv("HOME");
     if(!home) {



More information about the DVDnav-discuss mailing list