Closed
Description
Description
This bug is reported by a newly developed static tool, therefore it could be a false positive, please confirm.
the function _php_stream_sock_open_from_socket will return NULL once php_stream_alloc_rel returns NULL, however in the function zif_stream_socket_pair of ext/standard/streamsfuncs.c file, the return value of _php_stream_sock_open_from_socket is not checked before dereference, which could lead to NULL pointer dereference.
PHP Version
master
Operating System
No response