summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-01-12 14:01:42 +0100
committerChristoph M. Becker <cmbecker69@gmx.de>2020-01-14 16:46:58 +0100
commit05f3cd23ed61d800a861f2dd057ed56e783ea6f1 (patch)
tree317eaaa0c37e286a44e945458565e6f69418425b /win32
parentb0cdd8cc53c94134d4d61829e07e38f99e73e272 (diff)
downloadphp-git-05f3cd23ed61d800a861f2dd057ed56e783ea6f1.tar.gz
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.
Diffstat (limited to 'win32')
0 files changed, 0 insertions, 0 deletions