This commit is contained in:
lazymio 2022-06-02 15:06:50 +02:00
parent 6d61aec82f
commit 0ebac3b455
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873
1 changed files with 1 additions and 1 deletions

View File

@ -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);