Jakub Zelenka
f35a22adba
Prepare NEWS for 8.3.0
2023-11-21 14:00:51 +00:00
Jakub Zelenka
1e66e6ae73
Revert incomplete PG pipeline addition
...
Closes GH-12735
2023-11-20 16:22:29 +00:00
Peter Kokot
ff2b50889c
Refactor checks for fpathconf and pathconf
...
These two might not be available everywhere so we check them in
config.m4 when doing the configure step. Check is skipped for musl libc
due to limited implementation.
Constants that are defined into main/php_config.h:
HAVE_FPATHCONF
HAVE_PATHCONF
Implemented via GH-10238
Related to GH-10350
Fixes GH-12725
2023-11-20 13:39:21 +00:00
Ilija Tovilo
05a815399e
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix in-place modification of filename in php_message_handler_for_zend
2023-11-20 14:13:06 +01:00
Ilija Tovilo
d8e866da04
Fix in-place modification of filename in php_message_handler_for_zend
...
php_strip_url_passwd modifies url in-place. We cannot assume from
php_message_handler_for_zend that data is a temporary, modifiable string.
Fixes oss-fuzz #64209
Closes GH-12733
2023-11-20 14:12:25 +01:00
Ilija Tovilo
88d012f360
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix use-after-free of name in var-var with malicious error handler
2023-11-20 14:06:25 +01:00
Ilija Tovilo
ea52706a2a
Fix use-after-free of name in var-var with malicious error handler
...
Fixes oss-fuzz #54325
Closes GH-12732
2023-11-20 14:05:46 +01:00
Niels Dossche
6176538d99
Fix GH-11992: utf_encodings.phpt fails on Windows 32-bit
...
Similar bug as before in #10776 , but now in other code.
Closes GH-12726.
2023-11-19 16:45:53 +01:00
Niels Dossche
0a3b891ba1
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12721: SplFileInfo::getFilename() segfault in combination with GlobIterator and no directory separator
2023-11-19 11:52:58 +01:00
Niels Dossche
4d41dffb4f
Fix GH-12721: SplFileInfo::getFilename() segfault in combination with GlobIterator and no directory separator
...
This broke in 7cd8879
and 9bae9ab
. NULL is a perfectly valid return
value that should be handled.
Closes GH-12722.
2023-11-19 11:52:27 +01:00
Jakub Zelenka
b3947744c7
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-17 19:43:34 +00:00
Jakub Zelenka
f90b40416f
Fix #50713 : openssl_pkcs7_verify() may ignore untrusted CAs
...
Closes GH-12499
2023-11-17 19:42:28 +00:00
Niels Dossche
2b42b73c0b
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12616: DOM: Removing XMLNS namespace node results in invalid default: prefix
Fix GH-12702: libxml2 2.12.0 issue building from src
2023-11-17 19:58:31 +01:00
Niels Dossche
3167d07603
Fix GH-12616: DOM: Removing XMLNS namespace node results in invalid default: prefix
...
The namespace data is freed and set to NULL, but there remain references
to the namespace declaration nodes. This (rightfully) confuses libxml2
because its invariants are broken. We also have to remove all remaining
references from the subtree. This fixes the data corruption bug.
Closes GH-12681.
2023-11-17 19:47:08 +01:00
Niels Dossche
8a95e616b9
Fix GH-12702: libxml2 2.12.0 issue building from src
...
Fixes GH-12702.
Co-authored-by: nono303 <github@nono303.net>
2023-11-17 19:46:30 +01:00
Jakub Zelenka
7abe3fe4c6
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-17 13:41:50 +00:00
Jakub Zelenka
4da89d86ec
Fix stream fclose_stdiocast_flush_in_progress type
2023-11-17 13:33:55 +00:00
Jakub Zelenka
6734880ef5
Fix bug #79945 : Stream wrappers in imagecreatefrompng causes segfault
...
Closes GH-12696
2023-11-17 13:26:42 +00:00
Ilija Tovilo
c442a1f18e
Temporarily disable failing zlib tests on travis ( #10738 )
2023-11-17 13:24:20 +00:00
Jakub Zelenka
59dcb0065d
Revert "Temporarily disable failing zlib tests on travis ( #10738 )"
...
This reverts commit 8c9c6787cc
.
2023-11-17 12:45:09 +00:00
Jakub Zelenka
53371b7f89
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-17 12:11:32 +00:00
Jakub Zelenka
708e9fadfd
Skip slow tests on Travis
...
Closes GH-12697
2023-11-17 12:10:14 +00:00
Ilija Tovilo
8828d6ac1d
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
[skip ci] Fix more test tmp file conflicts
2023-11-16 16:28:40 +01:00
Ilija Tovilo
d5c6633bd1
[skip ci] Fix more test tmp file conflicts
2023-11-16 16:28:12 +01:00
Ilija Tovilo
ed927365c2
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Retry tests on deadlock
2023-11-16 16:02:58 +01:00
Ilija Tovilo
58712e0698
Retry tests on deadlock
...
Closes GH-12693
2023-11-16 16:02:20 +01:00
Ilija Tovilo
3060edf6af
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix file test race condition
2023-11-16 15:40:41 +01:00
Ilija Tovilo
a742010a0a
Fix file test race condition
...
005_variation2.phpt creates files with special names, and
filesize_variation5.phpt checks for filesize of inexistent files with special
names. Create the files in a separate directory to avoid these tests clashing.
Closes GH-12692
2023-11-16 15:40:16 +01:00
Jakub Zelenka
945c512a4e
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-16 14:37:10 +00:00
Jakub Zelenka
bf250e9f88
Merge branch 'PHP-8.1' into PHP-8.2
2023-11-16 14:36:16 +00:00
Jakub Zelenka
b4208c8f96
Initialize syslog device in GINIT
...
Closes GH-12663
2023-11-16 14:31:44 +00:00
Niels Dossche
c83632a503
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Use __DIR__-relative path in tests
Fix GH-12675: MEMORY_LEAK in phpdbg_prompt.c
2023-11-15 22:00:44 +01:00
Niels Dossche
f320c3561e
Use __DIR__-relative path in tests
...
Otherwise we can't run them from another directory, they'll fail
instead.
2023-11-15 22:00:04 +01:00
Niels Dossche
4f1103ef3b
Fix GH-12675: MEMORY_LEAK in phpdbg_prompt.c
...
Have to use file_put_contents() instead of --FILE-- because we have to
actually load it using the exec command, *and* have to make multiple
files, and note that we can only load files relative from the current
directory, so we can't rely on files being in the sapi/phpdbg/tests
folder.
Closes GH-12680.
2023-11-15 21:59:55 +01:00
Ilija Tovilo
082219ba0e
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Automatically mark tests as flaky
2023-11-15 13:22:35 +01:00
Ilija Tovilo
6d59640980
Automatically mark tests as flaky
...
Marking all of these tests as flaky is annoying, so attempt to recognize them
automatically.
Closes GH-12638
2023-11-15 13:21:58 +01:00
Ilija Tovilo
aa452ed315
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
[skip ci] Further increase allowable atime deviation
2023-11-14 18:37:17 +01:00
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
3d5723e232
zip extension is 1.22.3
2023-11-14 15:58:18 +01:00
Remi Collet
6d26d4c446
NEWS
2023-11-14 14:58:52 +01:00
Remi Collet
14f10ec761
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
NEWS
NEWS
fix GH-12661 (Inconsistency in ZipArchive::addGlob remove_path Option Behavior)
2023-11-14 14:57:14 +01:00
Remi Collet
2536cf78b8
NEWS
2023-11-14 14:56:59 +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
0b5824e17c
NEWS
2023-11-14 14:56:06 +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
5c25742c26
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Fix GH-12655: proc_open() does not take into account references in the descriptor array
2023-11-13 19:34:40 +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
8349835e68
Merge branch 'PHP-8.2' into PHP-8.3
...
* PHP-8.2:
Backport fix for GH-12512: JIT Assertion `info & (1 << type)' failed (#12660 )
2023-11-13 13:28:48 +03: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