[NTOSKRNL] Addendum to 21d2c70: properly start DOS_START loop

Fixes last failing test.

CORE-15902
This commit is contained in:
Bartosz Brachaczek 2019-03-31 19:33:53 +02:00 committed by Pierre Schweitzer
parent d29e216f99
commit e9b438bfaa
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B

View file

@ -200,7 +200,7 @@ FsRtlIsNameInExpressionPrivate(IN PUNICODE_STRING Expression,
DontSkipDot = TRUE;
if (!EndOfName && Name->Buffer[NamePosition] == '.')
{
for (Position = NamePosition - 1; Position < Name->Length / sizeof(WCHAR); Position++)
for (Position = NamePosition + 1; Position < Name->Length / sizeof(WCHAR); Position++)
{
if (Name->Buffer[Position] == L'.')
{