Mercurial > libdvdread4.hg
changeset 9:df4a5625b81d src
memzero ICB before using it; patch by Erik Hovland org
author | nicodvb |
---|---|
date | Thu, 05 Jun 2008 10:25:04 +0000 |
parents | bfb2ca68d906 |
children | 8bfb8ef95f9a |
files | dvd_udf.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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))) {