Ilija Tovilo
9b07b013fc
[skip ci] Further increase allowable atime deviation
...
MSAN is slow in particular, leading to potentially higher deviations.
2023-11-14 18:36:07 +01:00
Remi Collet
ddb887ffc8
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
NEWS
fix GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option Behavior)
2023-11-14 14:56:29 +01:00
Remi Collet
6625226074
fix GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option Behavior)
2023-11-14 14:54:20 +01:00
Niels Dossche
86c7d3ed1f
Fix GH-12655: proc_open() does not take into account references in the descriptor array
...
Closes GH-12658.
2023-11-13 19:29:44 +01:00
Dmitry Stogov
db26aee801
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Backport fix for GH-12512: JIT Assertion `info & (1 << type)' failed (#12660 )
2023-11-13 13:27:11 +03:00
Dmitry Stogov
c60c2a0d67
Backport fix for GH-12512: JIT Assertion `info & (1 << type)' failed ( #12660 )
2023-11-13 13:26:17 +03:00
Ilija Tovilo
d224faa10f
Fix astat imperciseness excemption in test
2023-11-12 14:06:02 +01:00
Ilija Tovilo
7440a1bd1f
Fix undeclared variable in stat tests
...
Closes GH-12645
2023-11-11 21:00:50 +01:00
Niels Dossche
7353c7ce17
Fix GH-12621: browscap segmentation fault when configured in the vhost
...
The temporary HashTable has a destructor that releases the string held
by the entry's value. However, browscap_intern_str(_ci) only incremented
the refcount for the reference created by the return value. As the
HashTable is only used during parsing, we don't need to manage the
reference count of the value anyway, so get rid of the destructor.
This is triggerable in two cases:
- When using php_admin_value to set the ini at the activation stage
- When running out of space for the opcache-interned strings
Closes GH-12634.
2023-11-11 18:35:57 +01:00
Niels Dossche
333cf3c111
Fix GH-12635: Test bug69398.phpt fails with ICU 74.1
...
ICU 74.1 contains new locale data that breaks the test.
Split the test based on the version number to resolve the issue.
Closes GH-12653.
2023-11-11 17:04:01 +01:00
Ilija Tovilo
d316712baa
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix timezone dependent test
2023-11-10 12:11:17 +01:00
SakiTakamachi
6a43135c1d
Fix timezone dependent test
...
Closes GH-12637
2023-11-10 12:10:30 +01:00
Niels Dossche
fbda6b50a3
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix GH-12633: sqlite3_defensive.phpt fails with sqlite 3.44.0
Fix GH-12628: The gh11374 test fails on Alpinelinux
2023-11-10 00:08:09 +01:00
SakiTakamachi
2a4775d6a7
Fix GH-12633: sqlite3_defensive.phpt fails with sqlite 3.44.0
...
Removes 'PRAGMA writable_schema;'.
From sqlite changelog https://www.sqlite.org/releaselog/3_44_0.html :
> The SQLITE_DBCONFIG_DEFENSIVE setting now prevents PRAGMA writable_schema
> from being turned on.
> Previously writable_schema could be turned on, but would not actually allow
> the schema to be writable. Now it simply cannot be turned on.
Closes GH-12636.
2023-11-10 00:03:33 +01:00
Niels Dossche
78fba9cb80
Fix GH-12628: The gh11374 test fails on Alpinelinux
...
Closes GH-12636.
2023-11-10 00:01:22 +01:00
Jakub Zelenka
c6eeb83e1f
Merge branch 'PHP-8.1' into PHP-8.2
2023-11-09 13:32:33 +00:00
Daniil Gentili
10b2b4a52c
Fix memory leak in standard syslog device handling
...
The BG(syslog_device) is leaked in RINIT.
Closes GH-12501
2023-11-09 13:29:09 +00:00
Jakub Zelenka
882cc4f804
Merge branch 'PHP-8.1' into PHP-8.2
2023-11-03 17:17:23 +00:00
Jakub Zelenka
a8c6c6165b
Fix GH-9921: Loading ext in FPM config does not register module handlers
...
Closes GH-12377
2023-11-03 16:53:09 +00:00
Dmitry Stogov
6bf4041398
Backport fix for HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag ( #12591 )
...
* Fixed HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag
This fixes GH-12527
* typo
2023-11-03 10:54:57 +03:00
Niels Dossche
304e482813
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix validation logic of php:function() callbacks in dom and xsl
2023-11-02 20:32:10 +01:00
Niels Dossche
20c9c4a367
Fix validation logic of php:function() callbacks in dom and xsl
...
Two issues:
- Assumed that at least 1 argument (function name) was provided.
- Incorrect error path for the non-callable case.
Closes GH-12593.
2023-11-02 20:28:55 +01:00
Dmitry Stogov
bbf2fc99a3
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Don't JIT after fatal errors
2023-11-02 14:14:48 +03:00
Dmitry Stogov
77a497d56a
Don't JIT after fatal errors
2023-11-02 14:14:12 +03:00
Dmitry Stogov
177a6f5d8a
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-10008: Narrowing occurred during type inference of ZEND_ADD_ARRAY_ELEMENT
2023-11-02 08:11:00 +03:00
Dmitry Stogov
798b9d097b
Fixed GH-10008: Narrowing occurred during type inference of ZEND_ADD_ARRAY_ELEMENT
2023-11-02 08:09:29 +03:00
David Carlier
a39e869b55
Merge branch 'PHP-8.1' into PHP-8.2
2023-11-01 19:13:08 +00:00
David Carlier
0da1356c66
ext/intl: change when the locale is invalid for the 8.1/8.2 serie.
...
does not throws an exception as it's considered as a too string change,
but the code user still needs to double check.
2023-11-01 19:12:50 +00:00
Dmitry Stogov
125dbb2c03
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed inorrect QM_ASSIGN elimination
2023-11-01 09:55:28 +03:00
Dmitry Stogov
19dfe05f16
Fixed inorrect QM_ASSIGN elimination
...
Fixes oss-fuzz #63771
2023-11-01 09:54:58 +03:00
Máté Kocsis
d4e40dc0e1
Fix GH-12558 Escape \N in generated stubs ( #12562 )
2023-10-31 10:06:56 +01:00
Dmitry Stogov
4b82ed4387
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Backport fix for incorrect assumption about in-memory zval type
2023-10-31 11:59:08 +03:00
Dmitry Stogov
455a967934
Backport fix for incorrect assumption about in-memory zval type
2023-10-31 11:56:01 +03:00
Dmitry Stogov
14b36c8583
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-12511: Use must be in next opline assertion with patched infection
2023-10-31 07:52:38 +03:00
Dmitry Stogov
b3b46a44c5
Fixed GH-12511: Use must be in next opline assertion with patched infection
2023-10-31 07:51:36 +03:00
Arnaud Le Blanc
7a617ee223
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[ci skip] NEWS
Fix segfault caused by weak references to FFI objects (#12488 )
2023-10-28 15:03:17 +02:00
sji
04b35a44ce
Fix segfault caused by weak references to FFI objects ( #12488 )
...
Thank you!
2023-10-28 14:59:06 +02:00
Niels Dossche
1ea8a10ca8
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix GH-11374: Different preg_match result with -d pcre.jit=0
2023-10-27 17:44:56 +02:00
Michael Voříšek
83a505e85f
Fix GH-11374: Different preg_match result with -d pcre.jit=0
...
This is a backport of https://github.com/PCRE2Project/pcre2/pull/300 .
Closes GH-12439.
2023-10-27 17:43:33 +02:00
Dmitry Stogov
770c1b0361
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed GH-12509: JIT assertion when running php-parser tests
2023-10-26 23:59:03 +03:00
Dmitry Stogov
5f46d86955
Fixed GH-12509: JIT assertion when running php-parser tests
2023-10-26 23:58:29 +03:00
Niels Dossche
e39538bed0
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix bug #75306 : Memleak in SoapClient
2023-10-26 19:59:00 +02:00
Niels Dossche
27797a26ca
Fix bug #75306 : Memleak in SoapClient
...
Setting the stream context via php_stream_context_to_zval() will
increase the reference count. So if the new context is created, then it
will end up with a reference count of 2 while it should be 1.
Credits to cmb for the analysis. I arrived at the same patch as he did.
Closes GH-12523.
2023-10-26 19:58:31 +02:00
Niels Dossche
07de4b69d4
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix incorrect dtor for persistent sdl->encoders
2023-10-25 17:54:46 +02:00
Niels Dossche
9f7f3b2034
Fix incorrect dtor for persistent sdl->encoders
...
Closes GH-12515.
2023-10-25 17:53:42 +02:00
Dmitry Stogov
76724fc4ac
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed regression intoduced by 76c41d27f9
2023-10-25 15:15:39 +03:00
Dmitry Stogov
fbf4e196da
Fixed regression intoduced by 76c41d27f9
2023-10-25 15:15:13 +03:00
Niels Dossche
dd8a945eb7
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
[ci skip] NEWS
Fix null pointer dereferences in case of allocation failure
2023-10-24 19:36:57 +02:00
icy17
900f0cab9f
Fix null pointer dereferences in case of allocation failure
...
Closes GH-12506.
2023-10-24 19:34:47 +02:00
Dmitry Stogov
7320f33f7f
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fixed incorrect type inference
2023-10-24 18:48:58 +03:00