[DVDnav-discuss] r1070 - trunk/libdvdnav/src/libdvdread/dvd_udf.c

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


Author: nicodvb
Date: Thu Jun  5 12:24:24 2008
New Revision: 1070

Log:
memzero ICB before using it; patch by Erik Hovland org

Modified:
   trunk/libdvdnav/src/libdvdread/dvd_udf.c

Modified: trunk/libdvdnav/src/libdvdread/dvd_udf.c
==============================================================================
--- trunk/libdvdnav/src/libdvdread/dvd_udf.c	(original)
+++ trunk/libdvdnav/src/libdvdread/dvd_udf.c	Thu Jun  5 12:24:24 2008
@@ -784,6 +784,7 @@ uint32_t UDFFindFile( dvd_reader_t *devi
     *filesize = 0;
     tokenline[0] = '\0';
     strncat(tokenline, filename, MAX_UDF_FILE_NAME_LEN - 1);
+    memset(&ICB, 0, sizeof(ICB));
 
     if(!(GetUDFCache(device, PartitionCache, 0, &partition) &&
         GetUDFCache(device, RootICBCache, 0, &RootICB))) {



More information about the DVDnav-discuss mailing list