[php-src] PR #24240: ext/pgsql: parameters and escaped strings truncated at the first null…

From: Date: Sat, 10 Oct 2026 12:52:08 +0000
Subject: [php-src] PR #24240: ext/pgsql: parameters and escaped strings truncated at the first null…
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39315@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24240 Author: devnexen … byte. Follow-up of GH-24238, which fixed the same truncation in pdo_pgsql. pg_query_params(), pg_execute() and their pg_send_*() variants passed parameters to libpq as C strings, and pg_escape_string(), pg_escape_literal() and pg_escape_identifier() stopped at the first null byte. They now throw a ValueError.

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