Permalink
Browse files

Fix for a crasher due to misaligned stack on x86-32.

Full information on reproduction (using Python's ctypes available here: http://bugs.python.org/issue17423)
  • Loading branch information...
1 parent f308faf commit ee18766b169811426c14b011fbb46d81e344f926 @alex alex committed Mar 14, 2013
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/x86/ffi.c
View
@@ -315,9 +315,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif *cif)
cif->bytes += 4 * sizeof(ffi_arg);
#endif
-#ifdef X86_DARWIN
cif->bytes = (cif->bytes + 15) & ~0xF;
-#endif
return FFI_OK;
}

0 comments on commit ee18766

Please sign in to comment.