All pastes #553576 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-09 19:46 UTC
rendered paste body
--- thread.c.orig       Sat Jun  9 15:07:29 2007
+++ thread.c    Sat Jun  9 15:45:13 2007
@@ -238,8 +238,11 @@
 
     /* reserve space for shared user data */
 
-    addr = (void *)0x7ffe0000;
-    size = 0x10000;
+    //addr = (void *)0x7ffe0000;
+    //size = 0x10000;
+       addr = NULL;
+       size = sizeof(*user_shared_data);
+
     NtAllocateVirtualMemory( NtCurrentProcess(), &addr, 0, &size, MEM_RESERVE|MEM_COMMIT, PAGE_READWRITE );
     user_shared_data = addr;