|
1 | 1 | PHP NEWS |
2 | 2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |
3 | | -19 Dec 2024, PHP 8.4.2 |
| 3 | +16 Jan 2025, PHP 8.4.3 |
4 | 4 |
|
5 | 5 | - BcMath: |
6 | | - . Fixed bug GH-16978 (Avoid unnecessary padding with leading zeros) |
| 6 | + . Fixed bug GH-17049 (Correctly compare 0 and -0). (Saki Takamachi) |
| 7 | + . Fixed bug GH-17061 (Now Number::round() does not remove trailing zeros). |
7 | 8 | (Saki Takamachi) |
| 9 | + . Fixed bug GH-17064 (Correctly round rounding mode with zero edge case). |
| 10 | + (Saki Takamachi) |
| 11 | + . Fixed bug GH-17275 (Fixed the calculation logic of dividend scale). |
| 12 | + (Saki Takamachi) |
| 13 | + |
| 14 | +- Core: |
| 15 | + . Fixed bug OSS-Fuzz #382922236 (Duplicate dynamic properties in hooked object |
| 16 | + iterator properties table). (ilutov) |
| 17 | + . Fixed unstable get_iterator pointer for hooked classes in shm on Windows. |
| 18 | + (ilutov) |
| 19 | + . Fixed bug GH-17106 (ZEND_MATCH_ERROR misoptimization). (ilutov) |
| 20 | + . Fixed bug GH-17162 (zend_array_try_init() with dtor can cause engine UAF). |
| 21 | + (nielsdos) |
| 22 | + . Fixed bug GH-17101 (AST->string does not reproduce constructor property |
| 23 | + promotion correctly). (nielsdos) |
| 24 | + . Fixed bug GH-17200 (Incorrect dynamic prop offset in hooked prop iterator). |
| 25 | + (ilutov) |
| 26 | + . Fixed bug GH-17216 (Trampoline crash on error). (nielsdos) |
| 27 | + |
| 28 | +- DBA: |
| 29 | + . Skip test if inifile is disabled. (orlitzky) |
| 30 | + |
| 31 | +- DOM: |
| 32 | + . Fixed bug GH-17145 (DOM memory leak). (nielsdos) |
| 33 | + . Fixed bug GH-17201 (Dom\TokenList issues with interned string replace). |
| 34 | + (nielsdos) |
| 35 | + . Fixed bug GH-17224 (UAF in importNode). (nielsdos) |
| 36 | + |
| 37 | +- Embed: |
| 38 | + . Make build command for program using embed portable. (dunglas) |
| 39 | + |
| 40 | +- FFI: |
| 41 | + . Fixed bug #79075 (FFI header parser chokes on comments). (nielsdos) |
| 42 | + . Fix memory leak on ZEND_FFI_TYPE_CHAR conversion failure. (nielsdos) |
| 43 | + . Fixed bug GH-16013 and bug #80857 (Big endian issues). (Dmitry, nielsdos) |
| 44 | + |
| 45 | +- Fileinfo: |
| 46 | + . Fixed bug GH-17039 (PHP 8.4: Incorrect MIME content type). (nielsdos) |
8 | 47 |
|
9 | | -- Calendar: |
10 | | - . Fixed jdtogregorian overflow. (David Carlier) |
11 | | - . Fixed cal_to_jd julian_days argument overflow. (David Carlier) |
| 48 | +- FPM: |
| 49 | + . Fixed bug GH-13437 (FPM: ERROR: scoreboard: failed to lock (already |
| 50 | + locked)). (Jakub Zelenka) |
| 51 | + . Fixed bug GH-17112 (Macro redefinitions). (cmb, nielsdos) |
| 52 | + . Fixed bug GH-17208 (bug64539-status-json-encoding.phpt fail on 32-bits). |
| 53 | + (nielsdos) |
| 54 | + |
| 55 | +- GD: |
| 56 | + . Fixed bug GH-16255 (Unexpected nan value in ext/gd/libgd/gd_filter.c). |
| 57 | + (nielsdos, cmb) |
| 58 | + . Ported fix for libgd bug 276 (Sometimes pixels are missing when storing |
| 59 | + images as BMPs). (cmb) |
| 60 | + |
| 61 | +- Gettext: |
| 62 | + . Fixed bug GH-17202 (Segmentation fault ext/gettext/gettext.c |
| 63 | + bindtextdomain()). (Michael Orlitzky) |
| 64 | + |
| 65 | +- Iconv: |
| 66 | + . Fixed bug GH-17047 (UAF on iconv filter failure). (nielsdos) |
| 67 | + |
| 68 | +- LDAP: |
| 69 | + . Fixed bug GH-17280 (ldap_search() fails when $attributes array has holes). |
| 70 | + (nielsdos) |
| 71 | + |
| 72 | +- LibXML: |
| 73 | + . Fixed bug GH-17223 (Memory leak in libxml encoding handling). (nielsdos) |
| 74 | + |
| 75 | +- MBString: |
| 76 | + . Fixed bug GH-17112 (Macro redefinitions). (nielsdos, cmb) |
| 77 | + |
| 78 | +- Opcache: |
| 79 | + . opcache_get_configuration() properly reports jit_prof_threshold. (cmb) |
| 80 | + . Fixed bug GH-17140 (Assertion failure in JIT trace exit with |
| 81 | + ZEND_FETCH_DIM_FUNC_ARG). (nielsdos, Dmitry) |
| 82 | + . Fixed bug GH-17151 (Incorrect RC inference of op1 of FETCH_OBJ and |
| 83 | + INIT_METHOD_CALL). (Dmitry, ilutov) |
| 84 | + . Fixed bug GH-17246 (GC during SCCP causes segfault). (Dmitry) |
| 85 | + . Fixed bug GH-17257 (UBSAN warning in ext/opcache/jit/zend_jit_vm_helpers.c). |
| 86 | + (nielsdos, Dmitry) |
| 87 | + |
| 88 | +- PCNTL: |
| 89 | + . Fix memory leak in cleanup code of pcntl_exec() when a non stringable |
| 90 | + value is encountered past the first entry. (Girgias) |
| 91 | + |
| 92 | +- PgSql: |
| 93 | + . Fixed bug GH-17158 (pg_fetch_result Shows Incorrect ArgumentCountError |
| 94 | + Message when Called With 1 Argument). (nielsdos) |
| 95 | + . Fixed further ArgumentCountError for calls with flexible |
| 96 | + number of arguments. (David Carlier) |
| 97 | + |
| 98 | +- Phar: |
| 99 | + . Fixed bug GH-17137 (Segmentation fault ext/phar/phar.c). (nielsdos) |
| 100 | + |
| 101 | +- SimpleXML: |
| 102 | + . Fixed bug GH-17040 (SimpleXML's unset can break DOM objects). (nielsdos) |
| 103 | + . Fixed bug GH-17153 (SimpleXML crash when using autovivification on |
| 104 | + document). (nielsdos) |
| 105 | + |
| 106 | +- Sockets: |
| 107 | + . Fixed bug GH-16276 (socket_strerror overflow handling with INT_MIN). |
| 108 | + (David Carlier / cmb) |
| 109 | + . Fixed overflow on SO_LINGER values setting, strengthening values check |
| 110 | + on SO_SNDTIMEO/SO_RCVTIMEO for socket_set_option(). |
| 111 | + (David Carlier) |
| 112 | + |
| 113 | +- SPL: |
| 114 | + . Fixed bug GH-17198 (SplFixedArray assertion failure with get_object_vars). |
| 115 | + (nielsdos) |
| 116 | + . Fixed bug GH-17225 (NULL deref in spl_directory.c). (nielsdos) |
| 117 | + |
| 118 | +- Streams: |
| 119 | + . Fixed bug GH-17037 (UAF in user filter when adding existing filter name due |
| 120 | + to incorrect error handling). (nielsdos) |
| 121 | + . Fixed bug GH-16810 (overflow on fopen HTTP wrapper timeout value). |
| 122 | + (David Carlier) |
| 123 | + . Fixed bug GH-17067 (glob:// wrapper doesn't cater to CWD for ZTS builds). |
| 124 | + (cmb) |
| 125 | + |
| 126 | +- Windows: |
| 127 | + . Hardened proc_open() against cmd.exe hijacking. (cmb) |
| 128 | + |
| 129 | +- XML: |
| 130 | + . Fixed bug GH-1718 (unreachable program point in zend_hash). (nielsdos) |
| 131 | + |
| 132 | +05 Dec 2024, PHP 8.4.2 |
| 133 | + |
| 134 | +- BcMath: |
| 135 | + . Fixed bug GH-16978 (Avoid unnecessary padding with leading zeros). |
| 136 | + (Saki Takamachi) |
12 | 137 |
|
13 | 138 | - COM: |
14 | 139 | . Fixed bug GH-16991 (Getting typeinfo of non DISPATCH variant segfaults). |
15 | 140 | (cmb) |
16 | 141 |
|
17 | 142 | - Core: |
18 | | - . Fail early in *nix configuration build script. (hakre) |
19 | 143 | . Fixed bug GH-16344 (setRawValueWithoutLazyInitialization() and |
20 | 144 | skipLazyInitialization() may change initialized proxy). (Arnaud) |
21 | | - . Fixed bug GH-16727 (Opcache bad signal 139 crash in ZTS bookworm |
22 | | - (frankenphp)). (nielsdos) |
23 | | - . Fixed bug GH-16799 (Assertion failure at Zend/zend_vm_execute.h:7469). |
24 | | - (nielsdos) |
25 | | - . Fixed bug GH-16630 (UAF in lexer with encoding translation and heredocs). |
26 | | - (nielsdos) |
27 | 145 | . Fix is_zend_ptr() huge block comparison. (nielsdos) |
28 | 146 | . Fixed potential OOB read in zend_dirname() on Windows. (cmb) |
29 | 147 | . Fixed bug GH-15964 (printf() can strip sign of -INF). (divinity76, cmb) |
30 | 148 |
|
31 | 149 | - Curl: |
32 | | - . Fixed bug GH-16802 (open_basedir bypass using curl extension). (nielsdos) |
33 | 150 | . Fix various memory leaks in curl mime handling. (nielsdos) |
34 | 151 |
|
35 | 152 | - DBA: |
36 | 153 | . Fixed bug GH-16990 (dba_list() is now zero-indexed instead of using |
37 | 154 | resource ids) (kocsismate) |
38 | 155 |
|
39 | 156 | - DOM: |
40 | | - . Fixed bug GH-16777 (Calling the constructor again on a DOM object after it |
41 | | - is in a document causes UAF). (nielsdos) |
42 | 157 | . Fixed bug GH-16906 (Reloading document can cause UAF in iterator). |
43 | 158 | (nielsdos) |
44 | 159 |
|
45 | 160 | - FPM: |
46 | | - . Fixed GH-16432 (PHP-FPM 8.2 SIGSEGV in fpm_get_status). (Jakub Zelenka) |
47 | 161 | . Fixed bug GH-16932 (wrong FPM status output). (Jakub Zelenka, James Lucas) |
48 | 162 |
|
49 | | -- GD: |
50 | | - . Fixed GH-16776 (imagecreatefromstring overflow). (David Carlier) |
51 | | - |
52 | 163 | - GMP: |
53 | 164 | . Fixed bug GH-16890 (array_sum() with GMP can loose precision (LLP64)). |
54 | 165 | (cmb) |
55 | 166 |
|
56 | | -- Hash: |
57 | | - . Fixed GH-16711: Segfault in mhash(). (Girgias) |
58 | | - |
59 | 167 | - Opcache: |
60 | 168 | . Fixed bug GH-16851 (JIT_G(enabled) not set correctly on other threads). |
61 | 169 | (dktapps) |
62 | 170 | . Fixed bug GH-16902 (Set of opcache tests fail zts+aarch64). (nielsdos) |
63 | 171 | . Fixed bug GH-16879 (JIT dead code skipping does not update call_level). |
64 | 172 | (nielsdos) |
65 | 173 |
|
66 | | -- OpenSSL: |
67 | | - . Prevent unexpected array entry conversion when reading key. (nielsdos) |
68 | | - . Fix various memory leaks related to openssl exports. (nielsdos) |
69 | | - . Fix memory leak in php_openssl_pkey_from_zval(). (nielsdos) |
70 | | - |
71 | | -- PDO: |
72 | | - . Fixed memory leak of `setFetchMode()`. (SakiTakamachi) |
73 | | - |
74 | | -- Phar: |
75 | | - . Fixed bug GH-16695 (phar:// tar parser and zero-length file header blocks). |
76 | | - (nielsdos, Hans Krentel) |
| 174 | +- SAPI: |
| 175 | + . Fixed bug GH-16998 (UBSAN warning in rfc1867). (nielsdos) |
77 | 176 |
|
78 | 177 | - PHPDBG: |
79 | 178 | . Fixed bug GH-15208 (Segfault with breakpoint map and phpdbg_clear()). |
80 | 179 | (nielsdos) |
81 | 180 |
|
82 | | -- SAPI: |
83 | | - . Fixed bug GH-16998 (UBSAN warning in rfc1867). (nielsdos) |
84 | | - |
85 | | -- SimpleXML: |
86 | | - . Fixed bug GH-16808 (Segmentation fault in RecursiveIteratorIterator |
87 | | - ->current() with a xml element input). (nielsdos) |
88 | | - |
89 | | -- SOAP: |
90 | | - . Fix make check being invoked in ext/soap. (Ma27) |
91 | | - |
92 | 181 | - Standard: |
93 | 182 | . Fixed bug GH-16905 (Internal iterator functions can't handle UNDEF |
94 | 183 | properties). (nielsdos) |
|
0 commit comments