[php-src] PR #22251: sockets: Fix memory leak in socket_recvfrom()

From: Date: Sun, 07 Jun 2026 20:41:03 +0000
Subject: [php-src] PR #22251: sockets: Fix memory leak in socket_recvfrom()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-36337@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22251 Author: iliaal recv_buf is allocated before the address-family switch but not freed on the default case, which every other case does. The default is not reachable in practice (socket_create and socket_import_stream restrict the family to the handled set), so this is hardening; the same gap is present on the stable branches.

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