[php-src] PR #19644: uri: Reject out-of-range ports for uri_parser_rfc3986
| From: | TimWolla | Date: | Sat, 30 Aug 2025 20:33:05 +0000 |
| Subject: | [php-src] PR #19644: uri: Reject out-of-range ports for uri_parser_rfc3986 | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32985@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19644
Author: TimWolla
RFC 3986 technically allows arbitrarily large integers as port numbers, but our implementation is
unable to deal with that, since it expects the port to fit
zend_long. In practice these
port numbers are unusable, so we might as well reject them.