Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c913989 commit 20f11feCopy full SHA for 20f11fe
1 file changed
Modules/_ctypes/libffi_msvc/ffi.c
@@ -110,7 +110,7 @@ void ffi_prep_args(char *stack, extended_cif *ecif)
110
argp += z;
111
}
112
113
- if (argp - stack > ecif->cif->bytes)
+ if (argp >= stack && (unsigned)(argp - stack) > ecif->cif->bytes)
114
{
115
Py_FatalError("FFI BUG: not enough stack space for arguments");
116
0 commit comments