[NTOSKRNL]

One-line fix for FsRtlIs*InExpression(). This fixes failing tests, but not overrun.
Added some breaks to reach more quickly the end

svn path=/trunk/; revision=50873
This commit is contained in:
Pierre Schweitzer 2011-02-23 12:04:08 +00:00
parent e5d92f833a
commit d56de922f2
2 changed files with 931 additions and 162 deletions

View file

@ -181,7 +181,7 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
switch (Expression->Buffer[ExpressionPosition])
{
case '*':
StarFound = ExpressionPosition++;
StarFound = MAXUSHORT;
break;
case '?':
@ -226,6 +226,7 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
if (ExpressionPosition == Expression->Length)
{
NamePosition = Name->Length;
break;
}
}
else if (Expression->Buffer[ExpressionPosition] == ANSI_DOS_STAR)
@ -253,7 +254,7 @@ FsRtlIsDbcsInExpression(IN PANSI_STRING Expression,
}
else
{
NamePosition = Name->Length;
break;
}
}
if (ExpressionPosition + 1 == Expression->Length && NamePosition == Name->Length &&

File diff suppressed because it is too large Load diff