History log of /PHP-7.4/ext/ffi/tests/bug79571.phpt (Results 1 – 2 of 2)
Revision Date Author Comments
# 8623a85c 12-May-2020 Christoph M. Becker

Skip test on big-endian architectures

Due to the memory layout on BE architectures, the address would be
`0x2a00000000` instead of `0x2a` on little-endian architectures.


# d5300873 11-May-2020 Christoph M. Becker

Fix #79571: FFI: var_dumping unions may segfault

We must not attempt to access arbitrary union members when retrieving
debug info, because that may not be valid. Therefore we do no long

Fix #79571: FFI: var_dumping unions may segfault

We must not attempt to access arbitrary union members when retrieving
debug info, because that may not be valid. Therefore we do no longer
dereference pointer types inside of unions, but report their address as
string in `%p` format instead.

show more ...