#
31e2ec63 |
| 16-Sep-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15923: GDB: Python Exception <class 'TypeError'>: exceptions must derive from BaseException Triggers on release builds when printing data structures. You can't raise a string, you
Fix GH-15923: GDB: Python Exception <class 'TypeError'>: exceptions must derive from BaseException Triggers on release builds when printing data structures. You can't raise a string, you must raise exceptions. Closes GH-15928.
show more ...
|
#
4830535b |
| 17-Sep-2024 |
Juliette <663378+jrfnl@users.noreply.github.com> |
[skip ci] PHP 8.4 NEWS: fix typos in parameter names (#15931) Ref: PR 15362 / https://github.com/php/php-src/commit/c818d944cf998b3151e4b312d655c51223612c4e#diff-7ee66c4f1536ac84dc5bbff1b831
[skip ci] PHP 8.4 NEWS: fix typos in parameter names (#15931) Ref: PR 15362 / https://github.com/php/php-src/commit/c818d944cf998b3151e4b312d655c51223612c4e#diff-7ee66c4f1536ac84dc5bbff1b8312e2eef24b974b3e48a5c5c2bcfdf2eb8f3ce Co-authored-by: jrfnl <jrfnl@users.noreply.github.com>
show more ...
|
#
3afb9618 |
| 15-Sep-2024 |
Ayesh Karunaratne |
ext/mbstring: Update to Unicode 16 Updates UCD to Unicode 16.0 (released 2024 Sept). Previously: 0fdffc18, #7502, #14680 Unicode 16 adds several new character sets and case
ext/mbstring: Update to Unicode 16 Updates UCD to Unicode 16.0 (released 2024 Sept). Previously: 0fdffc18, #7502, #14680 Unicode 16 adds several new character sets and case folding rules. However, the existing ucgendat script can still parse them. This also adds a couple test cases to make sure the new rules for East Asian Wide characters and case folding work correctly. These tests fail on Unicode 15.1 and older because those verisons do not contain those rules.
show more ...
|
#
2fce0bb8 |
| 16-Sep-2024 |
Ilija Tovilo |
Implement ReflectionProperty::isFinal() Closes GH-15919
|
#
25289dd0 |
| 08-Sep-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15711: SoapClient can't convert BackedEnum to scalar value Allow SoapClient to use the backing value during response serialization. Closes GH-15803.
|
#
55aa5f3f |
| 16-Sep-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15910: Assertion failure in ext/dom/element.c
|
#
c7397f51 |
| 16-Sep-2024 |
Ilija Tovilo |
[skip ci] Fix NEWS section
|
#
d75a289f |
| 11-Sep-2024 |
Ilija Tovilo |
Implement ReflectionProperty::hasHook[s] Closes GH-15844
|
#
ed54d6de |
| 15-Sep-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix XML serializer errata: xmlns="" serialization should be allowed The spec doesn't want to serialize xmlns:foo="", but the description of the step that checks this does not take into a
Fix XML serializer errata: xmlns="" serialization should be allowed The spec doesn't want to serialize xmlns:foo="", but the description of the step that checks this does not take into account that xmlns="" must be allowed. This patch corrects this errata. Closes GH-15894.
show more ...
|
#
503d9145 |
| 02-Sep-2024 |
David Carlier |
Fix GH-15712: overflow on float print with precision ini large value. When allocating enough room for floats, the allocator used overflows with large ndigits/EG(precision) value which us
Fix GH-15712: overflow on float print with precision ini large value. When allocating enough room for floats, the allocator used overflows with large ndigits/EG(precision) value which used an signed integer to increase the size of thebuffer. Testing with the zend operator directly is enough to trigger the issue rather than higher level math interface. close GH-15715
show more ...
|
#
791a6ef1 |
| 28-Aug-2024 |
David Carlier |
Fix GH-15613: unpack on format hex strings repeater value. close GH-15615
|
#
b5834c12 |
| 11-Sep-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15837: Segmentation fault in ext/simplexml/simplexml.c We should check if the iterator data is still valid, because if it isn't, then the type info is UNDEF, but the pointer value
Fix GH-15837: Segmentation fault in ext/simplexml/simplexml.c We should check if the iterator data is still valid, because if it isn't, then the type info is UNDEF, but the pointer value may be dangling. Closes GH-15841.
show more ...
|
#
ded8fb79 |
| 02-Aug-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix UAF issues with PCRE after request shutdown There are two related issues, each tested. First problem: What happens is that on the CLI SAPI we have a per-request pcre cache,
Fix UAF issues with PCRE after request shutdown There are two related issues, each tested. First problem: What happens is that on the CLI SAPI we have a per-request pcre cache, and on there the request shutdown for the pcre module happens prior to the remaining live object destruction. So when the SPL object wants to clean up the regular expression object it gets a use-after-free. Second problem: Very similarly, the non-persistent resources are destroyed after request shutdown, so on the CLI SAPI the pcre request cache is already gone, but if a userspace stream references a regex in the pcre cache, this breaks. Two things that come immediately to mind: - We could fix it by no longer treating the CLI SAPI special and just use the same lifecycle as the module. This simplifies the pcre module code a bit too. I wonder why we even have the separation in the first place. The downside here is that we're using more the system allocator than Zend's allocator for cache entries. - We could modify the shutdown code to not remove regular expressions with a refcount>0 and modify php_pcre_pce_decref code such that it becomes php_pcre_pce_decref's job to clean up when the refcount becomes 0 during shutdown. However, this gets nasty quickly. I chose the first solution here as it should be reliable and simple. Closes GH-15064.
show more ...
|
#
8a8859bc |
| 11-Sep-2024 |
Derick Rethans |
Fixed regression: Using more than one sign is now OK again when using modify()
|
#
f752e23c |
| 11-Sep-2024 |
Derick Rethans |
Fix GH-15582: Crash when not calling parent constructor of DateTimeZone
|
#
ee715d20 |
| 11-Sep-2024 |
tekimen |
[skip ci] Add NEWS for GH-15824 (GH-15835) Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
|
#
7a67fb03 |
| 10-Sep-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix bug #62900: Wrong namespace on xsd import error message The one error message indeed had a wrong namespace, and in general they weren't very descriptive, this also makes them more de
Fix bug #62900: Wrong namespace on xsd import error message The one error message indeed had a wrong namespace, and in general they weren't very descriptive, this also makes them more descriptive. Furthermore, two additional bugs were fixed: - Persistent memory leak of `location`. - UAF issues when printing the error message. Closes GH-15830.
show more ...
|
#
3665ab01 |
| 09-Sep-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15657: Segmentation fault in ext/opcache/jit/ir/dynasm/dasm_x86.h The crash happens because the zend_persist.c code tries to JIT the hook's op_array while the JIT buffer memory is
Fix GH-15657: Segmentation fault in ext/opcache/jit/ir/dynasm/dasm_x86.h The crash happens because the zend_persist.c code tries to JIT the hook's op_array while the JIT buffer memory is still protected. This happens in `zend_persist_property_info` called via `zend_persist_class_entry` through the inheritance cache. We shouldn't JIT the property hook code when persisting property info for the inheritance cache. This is a simple workaround by temporarily disabling the JIT so that the property hook code is not JITted when persisting the property info. An alternative solution would be to move the JITting of the property hooks to a different place in zend_persist.c by doing an additional pass over the classes. Closes GH-15819.
show more ...
|
#
72a2cbcc |
| 09-Sep-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix bug #73182: PHP SOAPClient does not support stream context HTTP headers in array form This code is modelled after how `http_fopen_wrapper.c` does things, which apparently is just loo
Fix bug #73182: PHP SOAPClient does not support stream context HTTP headers in array form This code is modelled after how `http_fopen_wrapper.c` does things, which apparently is just looping over the array and handling each string the same way as if we passed a header string directly. Also fixes a potential crash in `php_sdl.c` but without adding support for header arrays there (yet) because the code is untested. Closes GH-15817.
show more ...
|
#
15abb6e5 |
| 10-Sep-2024 |
Calvin Buckley |
[ci skip] Update NEWS for PHP 8.4.0 beta5
|
#
025ed70c |
| 10-Sep-2024 |
Ilija Tovilo |
Fix ReflectionProperty::isInitialized() for hooked props In zend_std_has_property with ZEND_PROPERTY_EXISTS, we'd just return true when no get hook was present. However, this function is
Fix ReflectionProperty::isInitialized() for hooked props In zend_std_has_property with ZEND_PROPERTY_EXISTS, we'd just return true when no get hook was present. However, this function is supposed to return false for uninitialized properties. PROPERTY_EXISTS is somewhat of a misnomer. Virtual properties continue to always return true, given there's no backing value to check. Fixes GH-15694 Closes GH-15822
show more ...
|
#
c1ffd4b4 |
| 06-Sep-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15658: Segmentation fault in Zend/zend_vm_execute.h Implement a minimal ZEND_MATCH handler using a tail call. Closes GH-15782.
|
#
86ef8d54 |
| 30-Aug-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-15661: Access null pointer in Zend/Optimizer/zend_inference.c Closes GH-15666.
|
#
8bcfc8cc |
| 07-Sep-2024 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Implement request #47317: SoapServer::__getLastResponse() Convenient for debugging. Closes GH-15792.
|
#
0ff9e162 |
| 09-Sep-2024 |
Ilija Tovilo |
[skip ci] Add missing NEWS entry for master
|