Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit ee18766b169811426c14b011fbb46d81e344f926 1 parent f308faf
@alex alex authored
Showing with 0 additions and 2 deletions.
  1. +0 −2  src/x86/ffi.c
View
2  src/x86/ffi.c
@@ -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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.