php-src/ext/pdo_odbc
Calvin Buckley dfd2a80b69
Fix #80909: crash with persistent connections in PDO_ODBC
When we have a complex connection string (more than a DSN), PHP
appends a UID and PWD if none are present and a username and password
are called, so SQLDriverConnect works as expected.

However, it seems spprintf doesn't allocate with persistence if
required. As a result, it'll be considering leaking and crash PHP on
free when a persistent connection is used.

Closes GH-8110.
2022-02-21 12:47:48 +01:00
..
tests Migrate SKIPIF -> EXTENSIONS (#7138) 2021-06-11 11:57:42 +02:00
config.m4 Remove conditional calls of always available macros 2019-07-14 22:24:21 +02:00
config.w32 Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
CREDITS Change some permissions from 755 to 644 2018-08-28 23:26:49 +02:00
odbc_driver.c Fix #80909: crash with persistent connections in PDO_ODBC 2022-02-21 12:47:48 +01:00
odbc_stmt.c Merge branch 'PHP-8.0' 2021-07-28 11:02:26 +02:00
pdo_odbc.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_pdo_odbc.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_pdo_odbc_int.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00