# HG changeset patch # User nicodvb # Date 1212661504 0 # Node ID df4a5625b81dfcd5a3433ef7ed42cabfd8d8488a # Parent bfb2ca68d9066c8734e7d71c228a6533454e77a4 memzero ICB before using it; patch by Erik Hovland org diff -r bfb2ca68d906 -r df4a5625b81d dvd_udf.c --- a/dvd_udf.c Thu Jun 05 10:22:07 2008 +0000 +++ b/dvd_udf.c Thu Jun 05 10:25:04 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))) {