[php-src] PR #25044: ext/odbc: Fix GH-25036 double free on parameter description failure

From: Date: Thu, 29 Oct 2026 21:46:42 +0000
Subject: [php-src] PR #25044: ext/odbc: Fix GH-25036 double free on parameter description failure
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-40072@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/25044 Author: iliaal odbc_prepare() now registers results before describing parameters and releases them through odbc_result_free() when SQLDescribeParam() fails, preventing a double free and removal of another live result from the connection. Reported with the Windows {SQL Server} driver; verified locally with psqlODBC and PostgreSQL 16, including Valgrind. Fixes GH-25036

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