php-src/ext
Niels Dossche 40a1a86f0c
Fix module shutdown crash during ZTS JIT shutdown
Commit a21195650e fixed a leak by adding a TSRM destructor for the
JIT globals in ZTS mode. In case the main thread shuts down the TSRM, it
will call all the destructors. The JIT globals destructor will be
invoked, but will always access the main thread globals using JIT_G.
This means that instead of freeing the JIT globals in the different
threads, the one in the main thread is freed repeatedly over and over,
crashing PHP. Fix it by always passing the pointer instead of relying on
JIT_G.

Closes GH-10835.

(cherry picked from commit b3e28e2290)
2023-03-14 20:41:08 +01:00
..
bcmath
bz2 Merge branch 'PHP-8.0' into PHP-8.1 2022-06-25 07:39:55 +01:00
calendar Add more specific array return type hints for various extensions - part 1 2021-11-07 08:46:25 +01:00
com_dotnet Merge branch 'PHP-8.0' into PHP-8.1 2022-06-18 11:50:14 +02:00
ctype
curl Fixed bug GH-10270 Unable to return CURL_READFUNC_PAUSE in readfunc callback 2023-02-24 14:32:23 +00:00
date Fixed GH-10447: 'p' format specifier does not yield 'Z' for 00:00 2023-01-31 12:58:21 +00:00
dba Merge branch 'PHP-8.0' into PHP-8.1 2022-07-27 12:13:32 +02:00
dl_test Fix unregistering ini entries of dynamically loaded extension (#8435) 2022-05-06 15:25:44 +02:00
dom Merge branch 'PHP-8.0' into PHP-8.1 2023-02-12 21:33:39 -07:00
enchant Add more specific array return type hints for various extensions - part 1 2021-11-07 08:46:25 +01:00
exif Fix GH-8408: bug68547.phpt fails without multibyte support 2022-04-20 16:42:09 +02:00
ffi Fix assertion failure when var_dump'ing void FFI result (#10568) 2023-02-13 22:38:28 +03:00
fileinfo fileinfo: tests: Disable times sensitive tests on debug build 2022-09-25 20:43:31 +02:00
filter Add missing EXTENSION section to tests 2022-10-27 14:39:43 +01:00
ftp Add more specific array return type hints for various extensions - part 2 2021-11-17 10:56:27 +01:00
gd Update new test to use EXTENSIONS section instead of SKIPIF 2022-10-24 15:02:05 +02:00
gettext
gmp Merge branch 'PHP-8.0' into PHP-8.1 2022-09-13 11:33:09 +01:00
hash Handle exceptions from __toString in XXH3's initialization 2023-01-17 14:14:12 +00:00
iconv Merge branch 'PHP-8.0' into PHP-8.1 2022-04-25 14:29:44 +02:00
imap Fix GH-9309: Segfault when connection is used after imap_close() 2022-08-12 16:24:30 +02:00
intl Fix GH-10647: Spoofchecker isSuspicious/areConfusable methods 2023-02-21 21:00:49 +00:00
json Fix php_json_scanner_defs.h target in ext/json/Makefile.frag 2023-02-17 16:37:14 +00:00
ldap Fix GH-10112: LDAP\Connection::__construct() refers to ldap_create() 2022-12-16 14:36:30 +01:00
libxml Merge branch 'PHP-8.0' into PHP-8.1 2022-08-25 15:11:41 +02:00
mbstring Fix GH-10627: mb_convert_encoding crashes PHP on Windows 2023-02-20 13:33:11 +00:00
mysqli ext/mysqli tests "using password" optional in error messages (part 2) 2022-12-08 14:23:33 +01:00
mysqlnd Merge branch 'PHP-8.0' into PHP-8.1 2022-10-27 18:31:38 +01:00
oci8 Skip some OCI tests with repeat 2022-09-27 23:32:15 +02:00
odbc Merge branch 'PHP-8.0' into PHP-8.1 2022-06-13 14:43:51 +02:00
opcache Fix module shutdown crash during ZTS JIT shutdown 2023-03-14 20:41:08 +01:00
openssl Fix incorrect error checking in php_openssl_set_server_dh_param() 2023-02-26 08:17:14 +00:00
pcntl Fix GH-9298: remove all registered signal handlers in pcntl RSHUTDOWN 2022-11-13 10:57:58 +01:00
pcre Fix pcre.jit on Apple Silicon 2022-08-31 14:22:44 +02:00
pdo Improve fix for bug #81740 2022-12-18 23:20:29 -07:00
pdo_dblib Merge branch 'PHP-8.0' into PHP-8.1 2022-08-26 14:59:08 +02:00
pdo_firebird Fix GH-9971: Incorrect NUMERIC value returned from PDO_Firebird 2022-11-30 12:11:42 +01:00
pdo_mysql Merge branch 'PHP-8.0' into PHP-8.1 2022-05-03 12:43:14 +02:00
pdo_oci Fix PDO OCI Bug #60994 (Reading a multibyte CLOB caps at 8192 chars) 2023-02-07 09:25:34 -06:00
pdo_odbc Merge branch 'PHP-8.0' into PHP-8.1 2022-06-13 14:43:51 +02:00
pdo_pgsql Merge branch 'PHP-8.0' into PHP-8.1 2022-09-05 17:26:13 +02:00
pdo_sqlite Force extension loading for new test 2022-12-19 16:14:00 +01:00
pgsql Fix GH-10672 (pg_lo_open segfaults in the strict_types mode) 2023-02-24 14:31:23 +00:00
phar Fix incorrect check in phar tar parsing 2023-01-29 17:14:12 +00:00
posix Fix GH-10202: posix_getgr(gid|nam)_basic.phpt fail 2023-01-02 16:54:47 +00:00
pspell
readline
reflection Fix segfault when using ReflectionFiber (fixes #10439) 2023-02-23 23:20:27 +01:00
session Propagate errors correctly in ps_files_cleanup_dir() 2023-02-21 16:09:22 +00:00
shmop
simplexml Fix the value param of SimpleXMLElement::addAttribute() 2021-12-22 12:35:59 +01:00
skeleton
snmp Fix bug #81598: Use C.UTF-8 as LC_CTYPE locale by default 2021-12-05 21:03:27 +01:00
soap Merge branch 'PHP-8.0' into PHP-8.1 2022-10-13 16:00:36 +02:00
sockets Merge branch 'PHP-8.0' into PHP-8.1 2022-10-01 11:23:34 +02:00
sodium Remove extra space before return type 2021-10-18 14:28:46 +02:00
spl Fix GH-10248: Assertion `!(zval_get_type(&(*(property))) == 10)' failed. 2023-01-20 16:40:15 +01:00
sqlite3 Fix #81742: open_basedir bypass in SQLite3 by using file URI 2022-12-06 15:59:52 +01:00
standard Fixed ValueError message in count_chars() 2023-02-26 14:27:46 +00:00
sysvmsg
sysvsem
sysvshm Fix test wrt. deprecation of float to int conversions 2022-05-09 14:05:57 +02:00
tidy Fix Tidy tests failing due to different spelling 2023-02-21 14:32:39 +00:00
tokenizer Add missing EXTENSION section to tests 2022-10-27 14:39:43 +01:00
xml The userland constants do not start with PHP_ 2023-02-26 14:18:12 +00:00
xmlreader Merge branch 'PHP-8.0' into PHP-8.1 2023-02-12 21:33:39 -07:00
xmlwriter Fix missing check for xmlTextWriterEndElement 2023-01-15 15:34:43 +00:00
xsl
zend_test Fix bad merge (b8dee9b3fc) 2022-06-20 18:46:17 +02:00
zip Merge branch 'PHP-8.0' into PHP-8.1 2022-06-15 15:39:00 +02:00
zlib Fix incorrect string length for output_handler in zlib ini code 2023-02-23 18:47:26 +00:00
ext_skel.php