php-src/ext/ffi
Christoph M. Becker 05f3cd23ed Fix #79096: FFI Struct Segfault
We must not assume that the size of a function's return value is at
most `sizeof(ffi_arg)`, but rather have to use the size which already
has been determined for the return type if it is larger than
`sizeof(ffi_arg)`.

To be able to have a regression test, we export the required test
function from the zend-test extension, and make sure that the test
can be run on different platforms regardless of whether zend-tests was
built statically or dynamically.
2020-01-14 16:46:58 +01:00
..
tests Fix #79096: FFI Struct Segfault 2020-01-14 16:46:58 +01:00
config.m4 ext/ffi: Remove symbol check for ffi_open 2019-06-03 09:19:25 +02:00
config.w32 Implement #78270: Support __vectorcall convention with FFI 2019-10-29 08:57:43 +01:00
CREDITS
ffi_parser.c Fixed bug #78714 (funcs returning pointer can't use call convention spec) 2019-11-11 12:07:48 +03:00
ffi.c Fix #79096: FFI Struct Segfault 2020-01-14 16:46:58 +01:00
ffi.g Fixed bug #78714 (funcs returning pointer can't use call convention spec) 2019-11-11 12:07:48 +03:00
php_ffi.h Implement #78270: Support __vectorcall convention with FFI 2019-10-29 08:57:43 +01:00