[php-src] PR #25162: Fix uniqid() truncating prefixes containing NUL bytes

From: Date: Mon, 02 Nov 2026 17:42:51 +0000
Subject: [php-src] PR #25162: Fix uniqid() truncating prefixes containing NUL bytes
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40239@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25162 Author: Sjord The prefix was passed through a %s format specifier, which stops at the first NUL byte and ignores the length returned by Z_PARAM_STRING(). Format only the numeric tail and concatenate the full binary-safe prefix. Add a test covering prefixes containing NUL bytes.

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