[New-bugs-announce] [issue22733] MSVC ffi_prep_args doesn't handle 64-bit arguments properly
report at bugs.python.org
Sun Oct 26 21:35:54 CET 2014
New submission from Steve Dower:
The ffi_prep_args function in libffi_msvc/ffi.c needs the attached patch to handle 64-bit parameters with the correct padding.
Without this patch, garbage may appear in the top part of 64-bit arguments as the values are not zeroed out by the memcpy.
I'm not 100% sure who 'owns' this file - is there an upstream project that should get the patch rather than Python? If not, I see no reason not to check this in now, even though it doesn't seem to repro with the VC10 builds.
nosy: amaury.forgeotdarc, belopolsky, meador.inge, steve.dower
stage: patch review
title: MSVC ffi_prep_args doesn't handle 64-bit arguments properly
versions: Python 3.5
Added file: http://bugs.python.org/file37023/ffi_prep_args.patch
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce