mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[NTFS] When reading $I30 attribute fails, stop the rename operation.
This makes the function return the error instead of continuing and performing use-after-frees operations. This is likely to be a forgotten return! CID 1434254, 1434268
This commit is contained in:
parent
1551d2b136
commit
c7bba39afc
1 changed files with 1 additions and 0 deletions
|
@ -1662,6 +1662,7 @@ UpdateFileNameRecord(PDEVICE_EXTENSION Vcb,
|
|||
ExFreePoolWithTag(IndexRecord, TAG_NTFS);
|
||||
ReleaseAttributeContext(IndexRootCtx);
|
||||
ExFreeToNPagedLookasideList(&Vcb->FileRecLookasideList, MftRecord);
|
||||
return Status;
|
||||
}
|
||||
|
||||
IndexRoot = (PINDEX_ROOT_ATTRIBUTE)IndexRecord;
|
||||
|
|
Loading…
Reference in a new issue