Jakub Zelenka
d17dea8556
Update release-process docs with info about first version release
...
This is some additional info that might help to future RM's - those are the bits that are stumbled and felt they need to be clarified when releasing PHP-8.3.0
2023-11-24 10:35:15 +00:00
Yuya Hamada
a80b6d7b99
Add mb_trim function
...
Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
Co-authored-by: Gina Peter Banyard <girgias@php.net>
2023-11-24 08:04:51 +02:00
Peter Kokot
3665e90061
Remove unused PHP_COMPILE and CXX_PHP_COMPILE variables ( #12760 )
...
These were part of the old build system and are no longer used.
2023-11-24 01:35:24 +00:00
Peter Kokot
3c7fe92b7c
Remove unused aspell library installation ( #12761 )
...
Related to b035cb6c8e
.
2023-11-24 01:35:01 +00:00
Derick Rethans
a4e80b09cb
Merge branch 'PHP-8.3'
2023-11-23 16:18:50 +00:00
Derick Rethans
2e4b660b27
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-23 16:18:43 +00:00
Derick Rethans
73246bac00
Update NEWS
2023-11-23 16:18:34 +00:00
Derick Rethans
7f96f4b3a3
Merge branch 'import-timelib-2022-10' into PHP-8.2
2023-11-23 16:17:26 +00:00
Derick Rethans
28dabaab2f
Import timelib 2022.10
2023-11-23 16:06:00 +00:00
Ben Ramsey
a92c2da16f
Merge branch 'PHP-8.3'
2023-11-22 21:36:20 -06:00
Ben Ramsey
c11d293c94
Merge branch 'PHP-8.2' into PHP-8.3
2023-11-22 21:36:05 -06:00
Ben Ramsey
20eff14c5c
Merge branch 'PHP-8.1' into PHP-8.2
2023-11-22 21:35:39 -06:00
Dmitry Stogov
87107f8688
Fixed GH-12748: Function JIT emits "could not convert to int" warning at the same time as invalid offset Error
2023-11-22 21:11:49 -06:00
Muhammad Moinur Rahman
fafa34d9cd
Add host_cpu type for FreeBSD
...
In FreeBSD world x86_64 host type is identified as amd64 so add proper
checks for FreeBSD amd64 hosts.
Close GH-12736
2023-11-22 21:10:52 -06:00
Ilija Tovilo
daa38dd63e
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-22 21:09:42 -06:00
Ilija Tovilo
1fdcfa4ebe
Fix use-after-free of name in var-var with malicious error handler
...
Fixes oss-fuzz #54325
Closes GH-12732
2023-11-22 21:08:55 -06:00
Jakub Zelenka
55e0748487
Fix #50713 : openssl_pkcs7_verify() may ignore untrusted CAs
...
Closes GH-12499
2023-11-22 21:03:55 -06:00
Ben Ramsey
2b4a47ccec
Merge changes to CertificateGenerator.inc from PHP-8.2
...
This pulls only the changes made to CertificateGenerator.inc in the PHP-8.2
branch from commit 505e8d2a04
.
Co-authored-by: Jakub Zelenka <bukka@php.net>
2023-11-22 20:39:30 -06:00
Niels Dossche
243fa9c143
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-22 20:39:30 -06:00
Niels Dossche
6a76e5d0a2
Fix GH-12702: libxml2 2.12.0 issue building from src
...
Fixes GH-12702.
Co-authored-by: nono303 <github@nono303.net>
2023-11-22 20:39:30 -06:00
Jakub Zelenka
e43ffb5023
Fix stream fclose_stdiocast_flush_in_progress type
2023-11-22 20:39:30 -06:00
Jakub Zelenka
a7a6151c4f
Fix bug #79945 : Stream wrappers in imagecreatefrompng causes segfault
...
Closes GH-12696
2023-11-22 20:39:30 -06:00
Ilija Tovilo
0b754fc48c
Temporarily disable failing zlib tests on travis ( #10738 )
2023-11-22 20:39:30 -06:00
Jakub Zelenka
e41cbd2174
Skip slow tests on Travis
...
Closes GH-12697
2023-11-22 20:39:30 -06:00
Ilija Tovilo
05ba461524
[skip ci] Fix more test tmp file conflicts
2023-11-22 20:39:29 -06:00
Ilija Tovilo
2312637496
Retry tests on deadlock
...
Closes GH-12693
2023-11-22 20:39:29 -06:00
Ilija Tovilo
e1e140f2f2
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-22 20:39:29 -06:00
Niels Dossche
4f5ba054ba
Use __DIR__-relative path in tests
...
Otherwise we can't run them from another directory, they'll fail
instead.
2023-11-22 20:39:29 -06:00
Niels Dossche
df2af7ff65
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-22 20:39:29 -06:00
Ilija Tovilo
9bdd0f0de9
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-22 20:39:29 -06:00
Ilija Tovilo
28c312c994
[skip ci] Further increase allowable atime deviation
...
MSAN is slow in particular, leading to potentially higher deviations.
2023-11-22 20:39:29 -06:00
Niels Dossche
c376f9943f
Fix GH-12655: proc_open() does not take into account references in the descriptor array
...
Closes GH-12658.
2023-11-22 20:39:28 -06:00
Ilija Tovilo
fe34dd1b49
Fix astat imperciseness excemption in test
2023-11-22 20:39:28 -06:00
Ilija Tovilo
f7f9401cc8
Disable -fsanitize=function on Clang 17
...
Closes GH-12642
2023-11-22 20:39:28 -06:00
Ilija Tovilo
db8c91ae9f
Fix undeclared variable in stat tests
...
Closes GH-12645
2023-11-22 20:39:28 -06:00
Niels Dossche
e1c6a7c4de
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-22 20:39:28 -06:00
Niels Dossche
6641cd159e
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-22 20:39:27 -06:00
Peter Kokot
d7d3a1c66e
Sync YFLAGS in scripts/dev/genfiles with PHP_PROG_BISON macro defaults ( #12709 )
...
- Adds -Wall YFLAGS when using the scripts/dev/genfiles to have similar
output there in case things need to be fixed.
- Syncs @ suppression operators across the bison calls.
2023-11-22 22:54:09 +01:00
Niels Dossche
ec8f880921
[ci skip] Ignore bundled pcre2lib in code coverage ( #12752 )
2023-11-22 20:11:06 +01:00
Niels Dossche
4d32e2bb87
Remove more pspell remnants
2023-11-22 19:52:07 +01:00
Niels Dossche
126950fd2c
Remove pspell from configure flags
...
This may fix CI.
2023-11-22 19:45:24 +01:00
Dmitry Stogov
889dadd636
Merge branch 'PHP-8.3'
...
* PHP-8.3:
Fixed regression introduced by https://github.com/php/php-src/pull/9601
2023-11-22 21:25:45 +03:00
Dmitry Stogov
adaf726373
Fixed regression introduced by https://github.com/php/php-src/pull/9601
2023-11-22 21:25:15 +03:00
Peter Kokot
5140889c92
Remove unused build variables ( #12746 )
...
- LFLAGS
- PHP_LIBS
- SHARED_LIBTOOL
- EXT_LIBS
These were part of the build system in the past and are no longer used
in current code.
2023-11-22 19:15:30 +01:00
SakiTakamachi
04f8c1bda8
Optimized error handling
2023-11-22 17:11:49 +00:00
SakiTakamachi
54b12bcdb4
Unified function naming conventions
2023-11-22 17:11:49 +00:00
Derick Rethans
b035cb6c8e
PSpell has been moved to PECL
...
- https://github.com/php/pecl-text-pspell
- https://pecl.php.net/package/pspell
2023-11-22 16:51:07 +00:00
Derick Rethans
bfb9922892
Merged pull request #12413
2023-11-22 15:25:06 +00:00
Derick Rethans
8577d88014
Add NEWS entry
2023-11-22 15:25:01 +00:00
Marc Bennewitz
88f2dc6268
Added DateTime[Immutable]::createFromTimestamp / date_create_[immutable]_from_timestamp
2023-11-22 15:24:13 +00:00