mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 04:13:32 +00:00
[FASTFAT]
- Handle multiple trailing backslashes without asserting CORE-10483 svn path=/trunk/; revision=70214
This commit is contained in:
@@ -597,6 +597,11 @@ VfatCreateFile(
|
||||
PathNameU.Length -= sizeof(WCHAR);
|
||||
}
|
||||
|
||||
if (PathNameU.Length > sizeof(WCHAR) && PathNameU.Buffer[PathNameU.Length/sizeof(WCHAR)-1] == L'\\')
|
||||
{
|
||||
return STATUS_OBJECT_NAME_INVALID;
|
||||
}
|
||||
|
||||
/* Try opening the file. */
|
||||
if (!OpenTargetDir)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user