prevent strlen insertion

This commit is contained in:
pygrum
2024-08-08 10:12:20 +01:00
parent 55d1955fb2
commit d05a6b1026
+1 -1
View File
@@ -229,7 +229,7 @@ NTSTATUS GkRun( PGK_CONTEXT Context, LPGK_ROUTINE Function, LPVOID Args, PDWORD
return Status;
}
SIZE_T StrLenA(PCHAR String )
SIZE_T __attribute__((optimize("O0"))) StrLenA(PCHAR String )
{
SIZE_T length = 0;
while (*String++) {