mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 22:56:00 +00:00
[NTOSKRNL]
Properly handle when we are at last dot in FsRtlIs*InExpression with DOS_STAR svn path=/trunk/; revision=58842
This commit is contained in:
parent
df801f3d4c
commit
18fa2986fc
2 changed files with 12 additions and 0 deletions
|
@ -237,6 +237,12 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
|
||||||
}
|
}
|
||||||
MatchingChars++;
|
MatchingChars++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* In case we were already at last dot, simply accept it */
|
||||||
|
if (MatchingChars == Name->Length)
|
||||||
|
{
|
||||||
|
NamePosition++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
|
@ -168,6 +168,12 @@ FsRtlIsNameInExpressionPrivate(IN PUNICODE_STRING Expression,
|
||||||
}
|
}
|
||||||
MatchingChars++;
|
MatchingChars++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* In case we were already at last dot, simply accept it */
|
||||||
|
if (MatchingChars == Name->Length / sizeof(WCHAR))
|
||||||
|
{
|
||||||
|
NamePosition++;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue