mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 14:34:57 +08:00
[RDBSSLIB] RxFirstCanonicalize(): Fix pointer arithmetic
CORE-13383
This commit is contained in:
committed by
Pierre Schweitzer
parent
bef841c3ee
commit
9420daee3d
@@ -6074,7 +6074,7 @@ RxFirstCanonicalize(
|
||||
}
|
||||
}
|
||||
|
||||
if (EndOfString - FirstSlash <= sizeof(WCHAR))
|
||||
if (EndOfString - FirstSlash <= 1)
|
||||
{
|
||||
Status = STATUS_OBJECT_NAME_INVALID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user