php-src/ext
Niels Dossche 28b448ac20
Fix GH-17307: Internal closure causes JIT failure
`bcadd(...)` is a closure for an internal function, and
`zend_jit_push_call_frame` takes into account both last_var and the
difference in argument numbers not only for user code but also for
internal code. However, this is inconsistent with
`zend_vm_calc_used_stack`, causing argument corruption.
Making this consistent fixes the issue.

I could only reproduce the assertion failure when using Valgrind.

Closes GH-17319.
2025-01-09 19:59:38 +01:00
..
bcmath Fixed GH-17275: Fixed the calculation logic of dividend scale (#17279) 2024-12-27 21:36:26 +09:00
bz2 Use "must not" instead of "cannot" wording 2024-08-21 21:12:17 +01:00
calendar Merge branch 'PHP-8.3' into PHP-8.4 2024-11-17 12:27:36 +00:00
com_dotnet Merge branch 'PHP-8.3' into PHP-8.4 2024-11-29 16:32:12 +01:00
ctype
curl Merge branch 'PHP-8.3' into PHP-8.4 2024-11-26 20:40:09 +01:00
date Merge branch 'PHP-8.3' into PHP-8.4 2024-12-20 15:09:49 +00:00
dba Merge branch 'PHP-8.3' into PHP-8.4 2024-12-06 19:02:17 +01:00
dl_test Merge branch 'PHP-8.3' into PHP-8.4 2024-12-20 18:50:16 +01:00
dom Fix GH-17397: Assertion failure ext/dom/php_dom.c 2025-01-08 19:45:40 +01:00
enchant Merge branch 'PHP-8.3' into PHP-8.4 2025-01-08 20:47:31 +01:00
exif Merge branch 'PHP-8.3' into PHP-8.4 2024-10-13 21:13:06 +02:00
ffi Merge branch 'PHP-8.3' into PHP-8.4 2024-12-25 21:33:43 +01:00
fileinfo Fix GH-17039: PHP 8.4: Incorrect MIME content type 2024-12-08 22:47:03 +01:00
filter Merge branch 'PHP-8.3' into PHP-8.4 2024-12-18 11:39:01 +00:00
ftp Merge branch 'PHP-8.3' into PHP-8.4 2025-01-03 12:31:08 +01:00
gd Add support for reading GIFs without colormap 2025-01-09 12:06:24 +01:00
gettext Fix GH-17400: bindtextdomain segfault with UTF-16 domain value. 2025-01-09 13:45:59 +00:00
gmp Merge branch 'PHP-8.3' into PHP-8.4 2024-11-27 19:54:23 +00:00
hash ext/hash: Fix deprecation message output for new tests 2024-11-10 20:34:45 +00:00
iconv Merge branch 'PHP-8.3' into PHP-8.4 2024-12-06 17:44:01 +01:00
intl Merge branch 'PHP-8.3' into PHP-8.4 2025-01-04 17:49:39 +01:00
json Merge branch 'PHP-8.3' into PHP-8.4 2024-10-24 15:58:12 +02:00
ldap Merge branch 'PHP-8.3' into PHP-8.4 2024-12-29 12:19:33 +01:00
libxml Merge branch 'PHP-8.3' into PHP-8.4 2024-12-26 12:25:08 +01:00
mbstring Merge branch 'PHP-8.3' into PHP-8.4 2024-12-11 19:32:48 +01:00
mysqli Merge branch 'PHP-8.3' into PHP-8.4 2024-12-09 23:37:31 +01:00
mysqlnd Merge branch 'PHP-8.3' into PHP-8.4 2024-11-20 11:14:04 +01:00
odbc Fix some odbc_*() parameter types 2024-11-27 23:05:50 +01:00
opcache Fix GH-17307: Internal closure causes JIT failure 2025-01-09 19:59:38 +01:00
openssl Merge branch 'PHP-8.3' into PHP-8.4 2024-12-31 15:20:06 +01:00
pcntl Merge branch 'PHP-8.3' into PHP-8.4 2024-12-15 22:13:54 +00:00
pcre Fix GH-17122: memory leak in regex 2025-01-06 20:11:36 +01:00
pdo Merge branch 'PHP-8.3' into PHP-8.4 2024-11-06 20:32:33 +09:00
pdo_dblib Merge branch 'PHP-8.3' into PHP-8.4 2024-11-20 11:14:04 +01:00
pdo_firebird Merge branch 'PHP-8.3' into PHP-8.4 2024-11-20 11:14:04 +01:00
pdo_mysql Fixed the test because libmysql results type is string. (#16709) 2024-11-06 21:07:03 +09:00
pdo_odbc Merge branch 'PHP-8.3' into PHP-8.4 2024-10-31 16:17:50 +01:00
pdo_pgsql ext/pdo_pgsql: Remove new PDO class constant specific to PGSQL driver 2024-11-16 16:30:19 +00:00
pdo_sqlite Fix GH-16131: Prevent mixing PDO sub-classes with different DSN 2024-10-22 22:51:29 +02:00
pgsql fix pgsql config inclusion 2024-12-15 16:05:10 +00:00
phar Merge branch 'PHP-8.3' into PHP-8.4 2024-12-15 13:55:44 +01:00
posix Merge branch 'PHP-8.3' into PHP-8.4 2024-12-30 12:41:58 -04:00
random Rename ZEND_STR_DEPRECATED to ZEND_STR_DEPRECATED_CAPITALIZED (#15831) 2024-09-10 22:45:23 +01:00
readline Fix GH-16812: UAF on readline_info() after readline_write_history() call. 2024-11-15 16:50:24 +00:00
reflection Fix setRawValueWithoutLazyInitialization() and skipLazyInitialization() on initialized proxy 2024-11-26 14:04:58 +01:00
session Fix GH-16590: UAF in session_encode() 2024-11-04 20:05:32 +01:00
shmop Make ext/shmop/tests/gh14537.phpt more resilient (GH-15985) 2024-09-22 17:03:16 +02:00
simplexml Merge branch 'PHP-8.3' into PHP-8.4 2025-01-09 19:54:46 +01:00
skeleton Update skeleton extension .gitignore (#15738) 2024-09-05 07:14:29 +02:00
snmp Merge branch 'PHP-8.3' into PHP-8.4 2025-01-05 13:34:38 +00:00
soap Merge branch 'PHP-8.3' into PHP-8.4 2024-11-08 20:48:06 +01:00
sockets Merge branch 'PHP-8.3' into PHP-8.4 2024-12-16 22:56:18 +00:00
sodium Generated arginfo header files: combine preprocessor conditional blocks (#15736) 2024-09-04 13:04:22 +02:00
spl Fix GH-15833: Segmentation fault (access null pointer) in ext/spl/spl_array.c 2025-01-09 19:58:00 +01:00
sqlite3 Generated arginfo header files: remove empty zend_function_entry arrays (#15705) 2024-09-03 23:19:53 +02:00
standard Merge branch 'PHP-8.3' into PHP-8.4 2025-01-06 12:20:50 +01:00
sysvmsg Merge branch 'PHP-8.3' into PHP-8.4 2024-11-03 13:40:25 +00:00
sysvsem Generated arginfo header files: remove empty zend_function_entry arrays (#15705) 2024-09-03 23:19:53 +02:00
sysvshm Merge branch 'PHP-8.3' into PHP-8.4 2024-10-26 15:08:17 +02:00
tidy Autotools: Fix tidy library checks (#15576) 2024-08-27 00:00:20 +02:00
tokenizer [RFC] Asymmetric visibility v2 (GH-15063) 2024-08-27 02:04:48 +02:00
xml Merge branch 'PHP-8.3' into PHP-8.4 2024-12-27 15:54:37 +01:00
xmlreader Merge branch 'PHP-8.3' into PHP-8.4 2024-10-08 20:58:20 +02:00
xmlwriter Backport 4fe82131: Backport libxml2 2.13.2 fixes (#14816) 2024-10-12 15:12:40 +02:00
xsl Backport e2d97314: Backport deprecation warning ignores to unbreak CI 2024-10-12 15:12:40 +02:00
zend_test Merge branch 'PHP-8.3' into PHP-8.4 2024-12-25 21:33:43 +01:00
zip zip extension is 1.22.4 2024-09-26 09:39:10 +02:00
zlib Merge branch 'PHP-8.3' into PHP-8.4 2024-10-13 02:30:38 +02:00
ext_skel.php