mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
[NTOS:FSRTL]
- The name of the file can be shorter than 3 symbols * Fixes 36 tests for kmtest FsRtlLegal svn path=/trunk/; revision=72535
This commit is contained in:
parent
dff1c73022
commit
2725eb9e0b
1 changed files with 2 additions and 2 deletions
|
@ -475,7 +475,7 @@ FsRtlIsFatDbcsLegal(IN ANSI_STRING DbcsName,
|
|||
}
|
||||
|
||||
/* Filename must be 8.3 filename */
|
||||
if (FirstPart.Length < 3 || FirstPart.Length > 12)
|
||||
if (FirstPart.Length > 12)
|
||||
return FALSE;
|
||||
|
||||
/* Now, we will parse the filename to find everything bad in */
|
||||
|
@ -520,7 +520,7 @@ FsRtlIsFatDbcsLegal(IN ANSI_STRING DbcsName,
|
|||
if (FirstPart.Buffer[FirstPart.Length - 1] == ' ')
|
||||
return FALSE;
|
||||
|
||||
EndLoop:
|
||||
EndLoop:
|
||||
/* Preparing next loop */
|
||||
Name.Buffer = RemainingPart.Buffer;
|
||||
Name.Length = RemainingPart.Length;
|
||||
|
|
Loading…
Reference in a new issue