History log of /PHP-8.3/Zend/zend_vm_execute.h (Results 51 – 75 of 2370)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 972a5a02 08-Feb-2023 Ilija Tovilo

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Fix GH-10168: heap-buffer-overflow at zval_undefined_cv


# 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)

# 95ccce3c 20-Jan-2023 Arnaud Le Blanc

Merge branch 'PHP-8.2'

* PHP-8.2:
[ci skip] NEWS
[ci skip] NEWS
Fix GH-10248: Assertion `!(zval_get_type(&(*(property))) == 10)' failed.


# c2e77f9c 20-Jan-2023 Arnaud Le Blanc

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
[ci skip] NEWS
Fix GH-10248: Assertion `!(zval_get_type(&(*(property))) == 10)' failed.


# 7d3a7efd 18-Jan-2023 Christoph M. Becker

Merge branch 'PHP-8.2'

* PHP-8.2:
Fix incorrect check condition in ZEND_YIELD


# 66605994 18-Jan-2023 Christoph M. Becker

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
Fix incorrect check condition in ZEND_YIELD


# 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 ...

# 02a5335b 23-Dec-2022 Derick Rethans

Merge branch 'PHP-8.2'


# 9529b891 23-Dec-2022 Derick Rethans

Merge branch 'PHP-8.1' into PHP-8.2


# 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

# 08f9b50a 07-Nov-2022 Dmitry Stogov

Merge branch 'PHP-8.2'

* PHP-8.2:
Don't check "fake" closures (fix assertion)


# 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)

# 77eadc5c 22-Oct-2022 Arnaud Le Blanc

Merge branch 'PHP-8.2'

* PHP-8.2:
[ci skip] NEWS
[ci skip] NEWS
[ci skip] NEWS
Fix compilation warning
Fix crash when memory limit is exceeded during generator

Merge branch 'PHP-8.2'

* PHP-8.2:
[ci skip] NEWS
[ci skip] NEWS
[ci skip] NEWS
Fix compilation warning
Fix crash when memory limit is exceeded during generator initialization

show more ...


# cfd5fb98 22-Oct-2022 Arnaud Le Blanc

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
[ci skip] NEWS
[ci skip] NEWS
Fix compilation warning
Fix crash when memory limit is exceeded during generator initiali

Merge branch 'PHP-8.1' into PHP-8.2

* PHP-8.1:
[ci skip] NEWS
[ci skip] NEWS
Fix compilation warning
Fix crash when memory limit is exceeded during generator initialization

show more ...


# ebe58459 22-Oct-2022 Arnaud Le Blanc

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
[ci skip] NEWS
Fix compilation warning
Fix crash when memory limit is exceeded during generator initialization


# 26c7c82d 21-Oct-2022 Arnaud Le Blanc

Fix crash when memory limit is exceeded during generator initialization

12345678910>>...95