mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[UDFS] Don't access OldInIcb after being freed
CORE-11199
This commit is contained in:
committed by
Victor Perevertkin
parent
dcf18826a5
commit
4805f0cd73
@@ -1719,8 +1719,8 @@ UDFWriteFile__(
|
||||
}
|
||||
}
|
||||
if(OldInIcb) {
|
||||
MyFreePool__(OldInIcb);
|
||||
UDFWriteExtent(Vcb, &(Dloc->DataLoc), 0, (uint32)OldLen, FALSE, OldInIcb, &_WrittenBytes);
|
||||
MyFreePool__(OldInIcb);
|
||||
}
|
||||
if((int64)OldLen != Dloc->DataLoc.Length) {
|
||||
// restore file size
|
||||
|
||||
Reference in New Issue
Block a user