Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Jun 2, 2022
1 parent 6d61aec commit 0ebac3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/test_ctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ static void test_uc_hook_cached_uaf(void)
MAP_PRIVATE | MAP_ANONYMOUS, -1, 0);
#else
void *callback = VirtualAlloc(NULL, 4096, MEM_RESERVE | MEM_COMMIT,
PAGE_EXECUTE_READWRITE)
PAGE_EXECUTE_READWRITE);
#endif

memcpy(callback, (void *)test_uc_hook_cached_cb, 4096);
Expand Down

0 comments on commit 0ebac3b

Please sign in to comment.