[php-src] PR #23415: Fix heap over-read in cli_get_prompt() for empty cli.prompt

From: Date: Sat, 22 Aug 2026 16:20:35 +0000
Subject: [php-src] PR #23415: Fix heap over-read in cli_get_prompt() for empty cli.prompt
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-38079@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/23415 Author: iliaal cli_get_prompt() parsed cli.prompt with a do-while, so the empty string executed the body on the terminator and scanned heap past it. Use a while loop and return the interned empty string when nothing was appended.

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