mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 18:25:52 +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;
|
last_loc = loc;
|
||||||
loc = Vcb->LVid->nextIntegrityExt;
|
loc = Vcb->LVid->nextIntegrityExt;
|
||||||
Vcb->LVid = NULL;
|
Vcb->LVid = NULL;
|
||||||
MyFreePool__(Buf);
|
|
||||||
lvid_count++;
|
lvid_count++;
|
||||||
if(lvid_count > UDF_MAX_LVID_CHAIN_LENGTH) {
|
if(lvid_count > UDF_MAX_LVID_CHAIN_LENGTH) {
|
||||||
RC = STATUS_DISK_CORRUPT_ERROR;
|
RC = STATUS_DISK_CORRUPT_ERROR;
|
||||||
goto exit_with_err;
|
goto exit_with_err;
|
||||||
}
|
}
|
||||||
|
MyFreePool__(Buf);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
// process last LVID
|
// process last LVID
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue