[DVDnav-discuss] r1071 - trunk/libdvdread/src/dvd_udf.c
nicodvb
subversion at mplayerhq.hu
Thu Jun 5 12:25:04 CEST 2008
Author: nicodvb
Date: Thu Jun 5 12:25:04 2008
New Revision: 1071
Log:
memzero ICB before using it; patch by Erik Hovland org
Modified:
trunk/libdvdread/src/dvd_udf.c
Modified: trunk/libdvdread/src/dvd_udf.c
==============================================================================
--- trunk/libdvdread/src/dvd_udf.c (original)
+++ trunk/libdvdread/src/dvd_udf.c Thu Jun 5 12:25:04 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