mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 17:05:46 +00:00
[NTOSKRNL]
Allow null matching with * wc in FsRtlIs*InExpression() This should fix a few tests svn path=/trunk/; revision=58790
This commit is contained in:
parent
301f9552c0
commit
4dea595eca
2 changed files with 6 additions and 2 deletions
|
@ -207,7 +207,9 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
|
|||
NamePosition = Name->Length;
|
||||
break;
|
||||
}
|
||||
else if (Expression->Buffer[ExpressionPosition] != '?')
|
||||
/* Allow null matching */
|
||||
else if (Expression->Buffer[ExpressionPosition] != '?' &&
|
||||
Expression->Buffer[ExpressionPosition] != Name->Buffer[NamePosition])
|
||||
{
|
||||
NamePosition++;
|
||||
}
|
||||
|
|
|
@ -143,7 +143,9 @@ FsRtlIsNameInExpressionPrivate(IN PUNICODE_STRING Expression,
|
|||
NamePosition = Name->Length / sizeof(WCHAR);
|
||||
break;
|
||||
}
|
||||
else if (Expression->Buffer[ExpressionPosition] != L'?')
|
||||
/* Allow null matching */
|
||||
else if (Expression->Buffer[ExpressionPosition] != L'?' &&
|
||||
Expression->Buffer[ExpressionPosition] != Name->Buffer[NamePosition])
|
||||
{
|
||||
NamePosition++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue