[php-src] PR #20811: uri: Fix RFC3986 to_string implementation with ExcludeFragment returning non-terminated strings

From: Date: Tue, 30 Dec 2025 23:32:08 +0000
Subject: [php-src] PR #20811: uri: Fix RFC3986 to_string implementation with ExcludeFragment returning non-terminated strings
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34423@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20811 Author: ndossche zend_string_truncate() doesn't put a NUL byte. Right now this doesn't matter as this code path is only hittable via the equals() method, but if other extension (or future other code) starts using this code path, then it can be problematic as all user-exposed zend_strings need to end with a NUL byte.

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