Ilija Tovilo
a687465c45
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix astat imperciseness excemption in test
2023-11-12 14:07:10 +01:00
Ilija Tovilo
d224faa10f
Fix astat imperciseness excemption in test
2023-11-12 14:06:02 +01:00
Ilija Tovilo
d5a25d51fc
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Disable -fsanitize=function on Clang 17
2023-11-11 21:11:02 +01:00
Ilija Tovilo
ca22505c8c
Disable -fsanitize=function on Clang 17
...
Closes GH-12642
2023-11-11 21:09:45 +01:00
Ilija Tovilo
85107c94d1
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix undeclared variable in stat tests
2023-11-11 21:01:19 +01:00
Ilija Tovilo
7440a1bd1f
Fix undeclared variable in stat tests
...
Closes GH-12645
2023-11-11 21:00:50 +01:00
Niels Dossche
1fb73463d3
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12621: browscap segmentation fault when configured in the vhost
2023-11-11 18:36:32 +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
608842b5b7
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12635: Test bug69398.phpt fails with ICU 74.1
2023-11-11 17:04:37 +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
Dmitriy Degtyaryov
63898008c0
Fix GH-9344: pgsql pipeline mode proposal.
...
Adding pg_send_flush_request.
Fix freeze after next execute pg_send_* on PQgetResult in _php_pgsql_link_has_results.
Set nonblocking for pipelining mode.
No flush client buffer in pg_send_* for pipelining mode.
Close GH-12644
2023-11-10 16:06:04 +00:00
Ilija Tovilo
677db1b0de
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix timezone dependent test
2023-11-10 12:11:27 +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
Jakub Zelenka
d02a8f4e87
Separate setting of SO_KEEPALIVE in FPM tests
...
Closes GH-12640
2023-11-10 09:45:19 +00:00
Niels Dossche
e6fef2944b
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
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:12:47 +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
42ea0ca3db
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-09 13:38:55 +00: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
Dmitry Stogov
9717e9fd56
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fixed empty array inference
2023-11-08 22:04:09 +03:00
Dmitry Stogov
5a77870492
Fixed empty array inference
2023-11-08 22:03:42 +03:00
Ben Ramsey
332df9b7f9
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-07 14:32:14 -06:00
Ben Ramsey
0734a12591
Merge branch 'PHP-8.1' into PHP-8.2
2023-11-07 14:31:47 -06:00
Ben Ramsey
55dfc29539
PHP-8.1 is now for PHP 8.1.27-dev
2023-11-07 14:28:31 -06:00
Eric Mann
27cd9d2844
Update news for PHP 8.3.0 GA
2023-11-07 12:13:42 -08:00
Jakub Zelenka
2aae3f8a24
Fix NEWS for 8.3.0RC5
2023-11-07 19:32:08 +00:00
Sergey Panteleev
0c32f8dc48
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
PHP-8.2 is now for PHP 8.2.14-dev
# Conflicts:
# Zend/zend.h
# configure.ac
# main/php_version.h
2023-11-07 17:13:46 +03:00
Sergey Panteleev
239a26fa90
PHP-8.2 is now for PHP 8.2.14-dev
2023-11-07 17:12:19 +03:00
Ilija Tovilo
cb1e842929
Fix inference of COPY_TMP
...
Since GH-11592 COPY_TMP may receive and thus define references. Unfortunately,
the name COPY_TMP is no longer accurate.
Closes GH-12619
2023-11-07 12:02:45 +01:00
Niels Dossche
85cb081661
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix unspecified behaviour in zend_alloc in heap->limit computation
2023-11-06 19:46:57 +01:00
Niels Dossche
7ac9578e41
Merge branch 'PHP-8.1' into PHP-8.2
...
* PHP-8.1:
Fix unspecified behaviour in zend_alloc in heap->limit computation
2023-11-06 19:44:33 +01:00
Niels Dossche
28110f8d0a
Fix unspecified behaviour in zend_alloc in heap->limit computation
...
Right-shifting a negative number is unspecified (i.e.
implementation-defined) behaviour [1]. If we take a look at the
generated assembly [2], we see that the wrong value is computed.
Fix it by using Z_UL instead of Z_L.
While we're at it, just change every occurrence of this pattern to use
Z_UL instead of casting.
[1] https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1548.pdf §6.5.7.5
[2] https://godbolt.org/z/4Y1qKKjsh
Closes GH-12613.
2023-11-06 19:43:55 +01:00
Jakub Zelenka
52b13f6ddb
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-03 17:17:52 +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
Jakub Zelenka
e43438544e
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-03 14:07:36 +00:00
Jakub Zelenka
e3d1beb0f1
Fix bug #76922 : FastCGI terminates conn after FCGI_GET_VALUES
...
Closes GH-12387
2023-11-03 14:06:36 +00:00
Dmitry Stogov
86f71e51d4
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Remove spaces
2023-11-03 10:58:32 +03:00
Dmitry Stogov
7e5fb564d6
Remove spaces
2023-11-03 10:58:20 +03:00
Dmitry Stogov
4ee72a8dda
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Backport fix for HASH/PACKED array inference through MAY_BE_ARRAY_EMPTY flag (#12591 )
2023-11-03 10:55:33 +03: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
ea299d44a1
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix validation logic of php:function() callbacks in dom and xsl
2023-11-02 20:32:36 +01: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
David Carlier
ee5fe483c2
[ci skip] fix typo in UPGRADING
2023-11-02 18:47:43 +00:00
Ilija Tovilo
ddabe89add
Fix OP1 leak in error path of post inc/dec
...
Fixes oss-fuzz #63802
Closes GH-12599
2023-11-02 19:30:59 +01:00
Dmitry Stogov
83bbea7c5b
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Don't JIT after fatal errors
2023-11-02 14:15:05 +03:00