[RDBSSLIB] RxFirstCanonicalize(): Fix pointer arithmetic

CORE-13383
This commit is contained in:
Victor Martinez
2019-11-18 08:20:49 +01:00
committed by Pierre Schweitzer
parent bef841c3ee
commit 9420daee3d
+1 -1
View File
@@ -6074,7 +6074,7 @@ RxFirstCanonicalize(
}
}
if (EndOfString - FirstSlash <= sizeof(WCHAR))
if (EndOfString - FirstSlash <= 1)
{
Status = STATUS_OBJECT_NAME_INVALID;
}