[php-src] PR #25142: sapi/cli: php_cli_server_client_save_header() crash on repeated headers.
| From: | devnexen | Date: | Mon, 02 Nov 2026 03:44:16 +0000 |
| Subject: | [php-src] PR #25142: sapi/cli: php_cli_server_client_save_header() crash on repeated headers. | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-40212@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/25142
Author: devnexen
The merged value was not marked persistent local, which tripped the ZEND_RC_DEBUG assertions, and
the second value leaked. Spellings differing only by case also left headers_original_case pointing
at the value freed by the headers update. Repeats now update the entry of the first spelling.