# HG changeset patch # User nicodvb # Date 1212661464 0 # Node ID 9ab2868147618df0022e55fc7c7e1e15a658f413 # Parent 78e68cde11cfc63801884992330e70cc133a5b21 memzero ICB before using it; patch by Erik Hovland org diff -r 78e68cde11cf -r 9ab286814761 libdvdread/dvd_udf.c --- a/libdvdread/dvd_udf.c Thu Jun 05 10:22:53 2008 +0000 +++ b/libdvdread/dvd_udf.c Thu Jun 05 10:24:24 2008 +0000 @@ -784,6 +784,7 @@ *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))) {