mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 05:20:54 +00:00
[UDFS] Avoid double free in UDFLoadLogicalVolInt. Patch by Víctor Martínez Calvo. CID 1322300 CORE-11181 #resolve
#comment Thanks! svn path=/trunk/; revision=71272
This commit is contained in:
parent
5994ce5887
commit
2c3a40046f
1 changed files with 1 additions and 1 deletions
|
@ -1316,12 +1316,12 @@ exit_with_err:
|
|||
last_loc = loc;
|
||||
loc = Vcb->LVid->nextIntegrityExt;
|
||||
Vcb->LVid = NULL;
|
||||
MyFreePool__(Buf);
|
||||
lvid_count++;
|
||||
if(lvid_count > UDF_MAX_LVID_CHAIN_LENGTH) {
|
||||
RC = STATUS_DISK_CORRUPT_ERROR;
|
||||
goto exit_with_err;
|
||||
}
|
||||
MyFreePool__(Buf);
|
||||
continue;
|
||||
}
|
||||
// process last LVID
|
||||
|
|
Loading…
Reference in a new issue