mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 12:52:58 +00:00
[RDBSSLIB] RxFirstCanonicalize(): Fix pointer arithmetic
CORE-13383
This commit is contained in:
parent
bef841c3ee
commit
9420daee3d
1 changed files with 1 additions and 1 deletions
|
@ -6074,7 +6074,7 @@ RxFirstCanonicalize(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (EndOfString - FirstSlash <= sizeof(WCHAR))
|
if (EndOfString - FirstSlash <= 1)
|
||||||
{
|
{
|
||||||
Status = STATUS_OBJECT_NAME_INVALID;
|
Status = STATUS_OBJECT_NAME_INVALID;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue