php-src/ext/odbc
Niels Dossche 77ac1e8592 Fix GH-12974: Apache crashes on shutdown when using pg_pconnect()
On ZTS, the global variables are stored in dynamically allocated memory.
When the module gets shut down this memory is released. After the module
is shut down, only then are the persistent resources cleared. Normally
this isn't an issue, but pgsql and odbc refer to the globals to modify
some counters, after the globals have been freed.
Fix this by guarding the modification.

Closes GH-13032.
2023-12-27 20:14:23 +01:00
..
tests Merge branch 'PHP-8.1' into PHP-8.2 2023-09-06 01:57:28 +01:00
config.m4 Quote when adding to connection string in (PDO_)ODBC 2022-05-27 16:56:44 +02:00
config.w32 Quote when adding to connection string in (PDO_)ODBC 2022-05-27 16:56:44 +02:00
CREDITS
odbc.stub.php Merge branch 'PHP-8.1' into PHP-8.2 2023-08-08 08:54:41 +02:00
odbc_arginfo.h Merge branch 'PHP-8.1' into PHP-8.2 2023-08-08 08:54:41 +02:00
odbc_utils.c Quote when adding to connection string in (PDO_)ODBC 2022-05-27 16:56:44 +02:00
php_odbc.c Fix GH-12974: Apache crashes on shutdown when using pg_pconnect() 2023-12-27 20:14:23 +01:00
php_odbc.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_odbc_includes.h Update globals to use bool type 2022-09-06 10:34:10 +01:00