[php-src] PR #23840: Fix crash in the CLI server when a client is reset before being accepted

From: Date: Tue, 22 Sep 2026 10:08:01 +0000
Subject: [php-src] PR #23840: Fix crash in the CLI server when a client is reset before being accepted
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38709@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23840 Author: devnexen accept() can return a socket without filling in the peer address when the client has already reset the connection. The address buffer was left uninitialized and php_network_populate_name_from_sockaddr() does not set the output string for an unknown family, so zend_string_dup() was handed a NULL. Zero the buffer and fall back to "-" when the address is unknown.

« previous php.git-pulls (#38709) next »