mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[KERNEL32]
Don't leak a handle when renaming a source file which is a MS mount point or a file without the reparse attribute while we can query its reparse information. CORE-13635 svn path=/trunk/; revision=75478
This commit is contained in:
@@ -772,6 +772,11 @@ MoveFileWithProgressW(IN LPCWSTR lpExistingFileName,
|
||||
NtClose(SourceHandle);
|
||||
SourceHandle = INVALID_HANDLE_VALUE;
|
||||
}
|
||||
else
|
||||
{
|
||||
/* Mount point, let's rename it */
|
||||
AttemptReopenWithoutReparse = FALSE;
|
||||
}
|
||||
}
|
||||
|
||||
/* Simply reopen if required */
|
||||
|
||||
Reference in New Issue
Block a user