Commit 4515ee7b authored by Erik Hovland's avatar Erik Hovland
Browse files

memzero ICB before using it;

parent 8b9fd328
......@@ -784,6 +784,7 @@ uint32_t UDFFindFile( dvd_reader_t *device, char *filename,
*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))) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment