#
d7c351ea |
| 26-Mar-2023 |
George Peter Banyard |
Propagate UTF-8 flag during Rope operations (#10915)
|
#
1be99fae |
| 04-Mar-2023 |
Kamil Tekiela |
Fix strlen error message param name
|
#
d5c649b3 |
| 23-Feb-2023 |
Max Kellermann |
zend_compiler, ...: use `uint8_t` instead of `zend_uchar` (#10621) `zend_uchar` suggests that the value is an ASCII character, but here, it's about very small integers. This is misleadi
zend_compiler, ...: use `uint8_t` instead of `zend_uchar` (#10621) `zend_uchar` suggests that the value is an ASCII character, but here, it's about very small integers. This is misleading, so let's use a C99 integer instead. On all architectures currently supported by PHP, `zend_uchar` and `uint8_t` are identical. This change is only about code readability.
show more ...
|
#
413844d6 |
| 18-Feb-2023 |
Max Kellermann |
Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597) These types are standard C99. For compatibility with out-of-tree extensions, keep the typedefs in
Zend/zend_types.h: deprecate zend_bool, zend_intptr_t, zend_uintptr_t (#10597) These types are standard C99. For compatibility with out-of-tree extensions, keep the typedefs in main/php.h.
show more ...
|
#
81f3fcd5 |
| 16-Feb-2023 |
Ilija Tovilo |
Revert "Remove useless UNEXPECTED around RETURN_VALUE_USED in specialized RETVAL handler" This reverts commit 5b801612cb33d238a5dafbe04374dadc6e3a9f35.
|
#
7b68ff46 |
| 16-Feb-2023 |
Ilija Tovilo |
Revert "Fix GH-10168: heap-buffer-overflow at zval_undefined_cv" This reverts commit 71ddede5655fe654002ae18af6a18e033f717287.
|
#
641fe23e |
| 08-Feb-2023 |
Marcos Marcolin <48370677+marcosmarcolin@users.noreply.github.com> |
Improve illegal offset error messages (#10504) Co-authored-by: Marcos Marcolin <marcos@ixcsoft.com.br>
|
#
71ddede5 |
| 06-Feb-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix GH-10168: heap-buffer-overflow at zval_undefined_cv The problem is that we're using the variable_ptr in the opcode handler *after* it has already been destroyed. The solution is to c
Fix GH-10168: heap-buffer-overflow at zval_undefined_cv The problem is that we're using the variable_ptr in the opcode handler *after* it has already been destroyed. The solution is to create a specialised version of zend_assign_to_variable which takes in two destination zval pointers. Closes GH-10524
show more ...
|
#
99b86141 |
| 02-Feb-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Introduce convenience macros for copying flags that hold when concatenating two strings This abstracts away, and cleans up, the flag handling for properties of strings that hold when con
Introduce convenience macros for copying flags that hold when concatenating two strings This abstracts away, and cleans up, the flag handling for properties of strings that hold when concatenating two strings if they both hold that property. (These macros also work with simply copies of strings because a copy of a string can be considered a concatenation with the empty string.) This gets rid of some branches and some repetitive code, and leaves room for adding more flags like these in the future.
show more ...
|
#
35a36b13 |
| 02-Feb-2023 |
Ilija Tovilo |
Fix comp-time and constant evaluation of dynamic class constant fetch Fixes GH-10486 Fixes oss-fuzz #55436 Fixes oss-fuzz #55472 Closes GH-10487
|
#
64127b66 |
| 29-Jan-2023 |
George Peter Banyard |
Concatenating two valid UTF-8 strings produces a valid UTF-8 string The UTF-8 valid flag needs to be copied upon interning, otherwise strings that are concatenated at compile time lose t
Concatenating two valid UTF-8 strings produces a valid UTF-8 string The UTF-8 valid flag needs to be copied upon interning, otherwise strings that are concatenated at compile time lose this information. However, if previously this string was interned without the flag it is not added E.g. in the case the string is an existing class name. Co-authored-by: Niels Dossche <7771979+nielsdos@users.noreply.github.com>
show more ...
|
#
02bd52b5 |
| 20-Oct-2022 |
Ilija Tovilo |
Implement dynamic class const fetch https://wiki.php.net/rfc/dynamic_class_constant_fetch Closes GH-9793
|
#
7936c808 |
| 23-Jan-2023 |
Máté Kocsis |
Fix GH-8329 Print true/false instead of bool in error and debug messages (#8385)
|
#
b5e9bf77 |
| 15-Jan-2023 |
Niels Dossche <7771979+nielsdos@users.noreply.github.com> |
Fix incorrect check condition in ZEND_YIELD The condition `UNEXPECTED(Z_TYPE_P(key)) == IS_REFERENCE` always returned false, because `UNEXPECTED(expression)` always returns 0 or 1. M
Fix incorrect check condition in ZEND_YIELD The condition `UNEXPECTED(Z_TYPE_P(key)) == IS_REFERENCE` always returned false, because `UNEXPECTED(expression)` always returns 0 or 1. Move the parens so the comparison is executed properly. Closes GH-10332.
show more ...
|
#
233ffccc |
| 12-Dec-2022 |
Derick Rethans |
Fix GH-10072: PHP crashes when execute_ex is overridden and a __call trampoline is used from internal code
|
#
a11c8a30 |
| 16-Dec-2022 |
Arnaud Le Blanc |
Limit stack size (#9104)
|
#
77ee92a5 |
| 28-Nov-2022 |
Jorg Adam Sowa |
Remove unnecessary usage of CONST_CS Closes GH-9685.
|
#
8731fb2d |
| 11-Nov-2022 |
Ilija Tovilo |
Fix caching of default params with side-effects Fixes GH-9965 Closes GH-9935
|
#
05b63b15 |
| 07-Nov-2022 |
Dmitry Stogov |
Don't check "fake" closures (fix assertion) Fixes oss-fuzz #53078
|
#
6d298cc7 |
| 26-Oct-2022 |
蝦米 |
Optimize spread operator for packed arrays (fix GH-9794) (#9796)
|
#
26c7c82d |
| 21-Oct-2022 |
Arnaud Le Blanc |
Fix crash when memory limit is exceeded during generator initialization
|
#
519c21f8 |
| 07-Oct-2022 |
Máté Kocsis |
Do not overwrite the zobj variable in ASSIGN_OBJ opcode (#9684)
|
#
c083efb7 |
| 26-Sep-2022 |
Dmitry Stogov |
Fix memory leak Fixes oss-fuzz #51622
|
#
8258b773 |
| 26-Sep-2022 |
Dmitry Stogov |
Fix memory leak Fixes oss-fuzz #51622
|
#
ba029fce |
| 19-Aug-2022 |
Tim Starling |
Fix GH-9323: crash when the VM enters userspace code via the GC Closes GH-9323
|