From c7e3487afa4391482522fca0e988700c510e5a76 Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sun, 28 Feb 2016 02:57:55 +0100 Subject: [PATCH] ntdll-call_thread_func_wrapper: Fix stack alignment. --- ...1-ntdll-Reserve-some-more-stack-space-in-call_thread_f.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/ntdll-call_thread_func_wrapper/0001-ntdll-Reserve-some-more-stack-space-in-call_thread_f.patch b/patches/ntdll-call_thread_func_wrapper/0001-ntdll-Reserve-some-more-stack-space-in-call_thread_f.patch index 6d5abd10..6ff3e1b2 100644 --- a/patches/ntdll-call_thread_func_wrapper/0001-ntdll-Reserve-some-more-stack-space-in-call_thread_f.patch +++ b/patches/ntdll-call_thread_func_wrapper/0001-ntdll-Reserve-some-more-stack-space-in-call_thread_f.patch @@ -16,7 +16,7 @@ index 59dca6c..cf3611d 100644 "movl %esp,%ebp\n\t" __ASM_CFI(".cfi_def_cfa_register %ebp\n\t") - "subl $4,%esp\n\t" -+ "subl $24,%esp\n\t" ++ "subl $20,%esp\n\t" "pushl 12(%ebp)\n\t" "call *8(%ebp)\n\t" "leal -4(%ebp),%esp\n\t"