#
abc6fe8f |
| 03-Mar-2023 |
nielsdos <7771979+nielsdos@users.noreply.github.com> |
Propagate success status of ftp_close() to userland The docs say that this function returns true on success, and false on error. This function always returns true in the current implemen
Propagate success status of ftp_close() to userland The docs say that this function returns true on success, and false on error. This function always returns true in the current implementation because the success return value from ftp_close() is never propagated to userland. This affects one test: since the test server exits after an invalid login, the ftp close correctly fails (because the server has gone away).
show more ...
|
#
ffc2a53a |
| 28-Feb-2023 |
David Carlier |
Fix GH-10728: opcache capstone header's inclusion. Remove capstone include folder. For most of the supported systems it worked fine somehow despite the pkg-config --cflags, but is a
Fix GH-10728: opcache capstone header's inclusion. Remove capstone include folder. For most of the supported systems it worked fine somehow despite the pkg-config --cflags, but is always include it even on Linux. Closes GH-10732.
show more ...
|
#
ae845cc6 |
| 03-Mar-2023 |
Arnaud Le Blanc |
[ci skip] NEWS
|
#
8f92a078 |
| 03-Mar-2023 |
Arnaud Le Blanc |
[ci skip] NEWS
|
#
df93146a |
| 02-Mar-2023 |
Ilija Tovilo |
Fix missing readonly modification error with inc/dec in JIT Closes GH-10746
|
#
23ce3423 |
| 28-Feb-2023 |
Sergey Panteleev |
PHP-8.2 is now for PHP 8.2.5-dev
|
#
02ec4c50 |
| 28-Feb-2023 |
David Carlier |
Fix GH-10727: Spoofchecker constant updates. - Adding MIXED_NUMBERS from ICU 58. - Adding HIDDEN_OVERLAY from ICU 62. Closes GH-10730.
|
#
fbaa2eb0 |
| 27-Feb-2023 |
David CARLIER |
ext/sockets: add TCP_REPAIR to silently close a connection. Closes GH-10724.
|
#
0f21cbc5 |
| 27-Feb-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-10715: phpdbg heap buffer overflow -- by misuse of the option "--run" Fixes GH-10715 When a string starting with a NUL character is passed to phpdbg_vprint(), the vasprin
Fix GH-10715: phpdbg heap buffer overflow -- by misuse of the option "--run" Fixes GH-10715 When a string starting with a NUL character is passed to phpdbg_vprint(), the vasprintf() will return that 0 characters have been printed. This causes msglen == 0. When phpdbg_process_print() is called with a message of length 0, the -1 to check for '\n' will perform an out of bounds read. Since nothing is printed anyway for msglen == 0, it seems best to just skip the printing routine for this case. Closes GH-10720.
show more ...
|
#
b09be29a |
| 25-Feb-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix incorrect error checking in php_openssl_set_server_dh_param() SSL_CTX_set_tmp_dh() and SSL_CTX_set0_tmp_dh_pkey() return 1 on success and 0 on error. But only < 0 was checked which m
Fix incorrect error checking in php_openssl_set_server_dh_param() SSL_CTX_set_tmp_dh() and SSL_CTX_set0_tmp_dh_pkey() return 1 on success and 0 on error. But only < 0 was checked which means that errors were never caught. Closes GH-10705.
show more ...
|
#
df579ada |
| 25-Feb-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-10692: PHP crashes on Windows when an inexistent filename is executed Fixes GH-10692 php_fopen_primary_script() does not initialize all fields of zend_file_handle. So whe
Fix GH-10692: PHP crashes on Windows when an inexistent filename is executed Fixes GH-10692 php_fopen_primary_script() does not initialize all fields of zend_file_handle. So when it fails and when fastcgi is true, the zend_destroy_file_handle() function will try to free uninitialized pointers, causing a segmentation fault. Fix it by zero-initializing file handles just like the zend_stream_init_fp() counterpart does. Closes GH-10697.
show more ...
|
#
7d2b01ee |
| 24-Feb-2023 |
Ilija Tovilo |
[skip ci] Add github reference to bug fix in NEWS
|
#
b9a5bfc3 |
| 12-Feb-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-10570: Assertion `(key)->h != 0 && "Hash must be known"' failed. Fixes GH-10570, see GH-10570 for analysis. Closes GH-10572
|
#
8959ff39 |
| 24-Feb-2023 |
nielsdos <7771979+nielsdos@users.noreply.github.com> |
Fix incorrect type for return value of zend_update_static_property_ex() zend_update_static_property_ex() returns a zend_result, but the return value is stored here in a bool. A bool is u
Fix incorrect type for return value of zend_update_static_property_ex() zend_update_static_property_ex() returns a zend_result, but the return value is stored here in a bool. A bool is unsigned on my system, so in case zend_update_static_property_ex() returns FAILURE (== -1) this gets converted to 1 instead. This is not a valid zend_result value. This means that (transitive) callers could mistakingly think the function succeeded while it did in fact not succeed. Fix it by changing the type to zend_result. Closes GH-10691.
show more ...
|
#
91db3a1b |
| 17-Feb-2023 |
Pierrick Charron |
Fixed bug GH-10270 Unable to return CURL_READFUNC_PAUSE in readfunc callback Closes GH-10607 Signed-off-by: George Peter Banyard <girgias@php.net>
|
#
5f357f34 |
| 23-Feb-2023 |
George Peter Banyard |
Fix GH-10672 (pg_lo_open segfaults in the strict_types mode) We need to use the proper ZPP qualifier for zend_string Closes GH-10677
|
#
e9c86216 |
| 14-Feb-2023 |
Max Kellermann |
ext/opcache/zend_shared_alloc: use memfd for locking if available A memfd is a virtual file that has no reachable path, therefore does not clobber any filesystem. It is deleted automati
ext/opcache/zend_shared_alloc: use memfd for locking if available A memfd is a virtual file that has no reachable path, therefore does not clobber any filesystem. It is deleted automatically as soon as the last handle gets closed. The feature is available since Linux kernel 3.17. Closes GH-10589.
show more ...
|
#
8d1c0a14 |
| 22-Feb-2023 |
Daniil Gentili |
Fix segfault when using ReflectionFiber (fixes #10439) Closes GH-10478
|
#
c510083c |
| 22-Feb-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix incorrect string length for output_handler in zlib ini code The length of "output_handler" is supposed to be passed, but as sizeof is used, the resulting number includes the NUL char
Fix incorrect string length for output_handler in zlib ini code The length of "output_handler" is supposed to be passed, but as sizeof is used, the resulting number includes the NUL character, so the length is off-by-one. Subtract one to pass the correct length. Closes GH-10667.
show more ...
|
#
8995f602 |
| 17-Feb-2023 |
Alex Dowad |
mb_decode_mimeheader obeys RFC 2047 regarding underscores and QPrint encoding
|
#
25d6c932 |
| 06-Jan-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-10239: proc_close after proc_get_status always returns -1 The waitpid function only works once when a process is exited. Cache the result so subsequent status reads succeed.
Fix GH-10239: proc_close after proc_get_status always returns -1 The waitpid function only works once when a process is exited. Cache the result so subsequent status reads succeed. Closes GH-10250
show more ...
|
#
0a466e7a |
| 21-Feb-2023 |
NathanFreeman <1056159381@qq.com> |
Fix GH-10647: Spoofchecker isSuspicious/areConfusable methods error code's argument. Closes GH-10653.
|
#
da3ce601 |
| 21-Feb-2023 |
nielsdos <7771979+nielsdos@users.noreply.github.com> |
Propagate errors correctly in ps_files_cleanup_dir() In SessionHandler::gc, we use a virtual call to PS(default_mod)->s_gc to call the gc implementation. That return value is checked aga
Propagate errors correctly in ps_files_cleanup_dir() In SessionHandler::gc, we use a virtual call to PS(default_mod)->s_gc to call the gc implementation. That return value is checked against FAILURE (-1). One of the call targets of PS(default_mod)->s_gc is ps_gc_files(). ps_gc_files() calls to ps_files_cleanup_dir(). The latter function has some error checks and outputs a notice if something goes wrong. In cases of errors, the function returns 0. This means that the check in SessionHandler::gc will misinterpret this as a success and report that 0 files have been *successfully* cleaned up. Fix it by returning -1 to indicate something *did* go wrong. Closes GH-10644.
show more ...
|
#
16bdb9b5 |
| 21-Feb-2023 |
George Peter Banyard |
[skip ci] Update NEWS with bugfixes backported from 8.1
|
#
8cac8306 |
| 20-Feb-2023 |
ndossche |
Fix incorrect error check in browsecap for pcre2_match() pcre2_match() returns error codes < 0, but only the "no match" error code was handled. Fix it by changing the check to >= 0.
Fix incorrect error check in browsecap for pcre2_match() pcre2_match() returns error codes < 0, but only the "no match" error code was handled. Fix it by changing the check to >= 0. Closes GH-10632 Signed-off-by: George Peter Banyard <girgias@php.net>
show more ...
|