mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
b8755a7559
This was first pointed out in GH-10959. The from_zval_... functions don't always write to the pointer, in particular it is necessary to check for an error before using the value. Otherwise we can access an uninitialized value and that's UB (and dangerous). Note: this does *NOT* get rid of the compiler warning. Even though there is error checking now, the compiler isn't smart enough to figure out that the values can not be used uninitialized. Closes GH-10966. |
||
---|---|---|
.. | ||
tests | ||
config.m4 | ||
config.w32 | ||
conversions.c | ||
conversions.h | ||
CREDITS | ||
multicast.c | ||
multicast.h | ||
php_sockets.h | ||
sendrecvmsg.c | ||
sendrecvmsg.h | ||
sockaddr_conv.c | ||
sockaddr_conv.h | ||
sockets_arginfo.h | ||
sockets.c | ||
sockets.stub.php | ||
unix_socket_constants.h | ||
win32_socket_constants.h | ||
windows_common.h |