[php-src] PR #25235: Fix php-cgi -b accepting ports above 65535

From: Date: Fri, 06 Nov 2026 08:26:27 +0000
Subject: [php-src] PR #25235: Fix php-cgi -b accepting ports above 65535
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40349@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25235 Author: eyupcanakman php-cgi -b reads the port in fcgi_listen() with atoi() into a short, so a port outside 0-65535 wraps to another one. -b 70000 listens on port 4464, and -b 65536 creates a Unix socket named 65536. Such ports now fail with the existing error. GH-24616 fixed the same thing for socket streams.

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