mirror of
https://github.com/php/php-src.git
synced 2026-04-26 17:38:14 +02:00
66e2aa7255
Passing a double pointer to php_stream_cast means the caller of php_posix_stream_get_fd will never receive the actual value. Moreover, php_posix_stream_get_fd may only write the low sizeof(php_socket_t) bytes of fd, so we need to initialize the upper bytes to 0 to avoid partial use-of-uninitialized-value.