[php-src] PR #25841: ext/pdo_pgsql: dangling running statement after a failed query().

From: Date: Fri, 27 Nov 2026 14:57:28 +0000
Subject: [php-src] PR #25841: ext/pdo_pgsql: dangling running statement after a failed query().
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-41121@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25841 Author: devnexen PDO::query() detaches the handle from a failed statement before releasing it, so pgsql_stmt_dtor() skipped clearing H->running_stmt and the connection kept a pointer to the freed statement that the next lazy query dereferenced in pgsql_stmt_finish(). Clear it as well when the handle is merely detached; an already destroyed handle (bug72294) is still left untouched. Fix GH-25838

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