Sebastian Lackner : msi: Fix stack alignment in CUSTOMPROC_wrapper.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Apr 7 11:42:52 CDT 2016


Module: wine
Branch: master
Commit: 92aa91d2de61a303fe0928cd97687c9504adcfc0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=92aa91d2de61a303fe0928cd97687c9504adcfc0

Author: Sebastian Lackner <sebastian at fds-team.de>
Date:   Thu Apr  7 07:55:59 2016 +0200

msi: Fix stack alignment in CUSTOMPROC_wrapper.

Spotted by Dmitry Timoshkov.

Signed-off-by: Sebastian Lackner <sebastian at fds-team.de>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/msi/custom.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/msi/custom.c b/dlls/msi/custom.c
index 4e934bd..35a1b5c 100644
--- a/dlls/msi/custom.c
+++ b/dlls/msi/custom.c
@@ -539,6 +539,7 @@ __ASM_GLOBAL_FUNC( CUSTOMPROC_wrapper,
     __ASM_CFI(".cfi_rel_offset %ebp,0\n\t")
     "movl %esp,%ebp\n\t"
     __ASM_CFI(".cfi_def_cfa_register %ebp\n\t")
+    "subl $4,%esp\n\t"
     "pushl 12(%ebp)\n\t"
     "movl 8(%ebp),%eax\n\t"
     "call *%eax\n\t"




More information about the wine-cvs mailing list