History log of /PHP-8.1/Zend/zend_execute.c (Results 1 – 25 of 1862)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# f5c54fd8 23-May-2023 Ilija Tovilo

Fix access on NULL pointer in array_merge_recursive()

Closes GH-11303


# 0c65b396 10-Apr-2023 Dmitry Stogov

Allow FETCH_OBJ_W and FETCH_STATIC_PROP_W to return INDIRECT/UNDEF zval for uninitialized typed properties (#11048)


# 7b68ff46 16-Feb-2023 Ilija Tovilo

Revert "Fix GH-10168: heap-buffer-overflow at zval_undefined_cv"

This reverts commit 71ddede5655fe654002ae18af6a18e033f717287.


# d721dcc2 10-Feb-2023 Arnaud Le Blanc

Fix colletion of unfinished function call in fibers

Fixes GH-10496.

Co-authored-by: Bob Weinand <bobwei9@hotmail.com>


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


# 0801c567 12-Jan-2023 Niels Dossche <7771979+nielsdos@users.noreply.github.com>

Fix GH-10248: Assertion `!(zval_get_type(&(*(property))) == 10)' failed.

The assertion failure was triggered in a debug code-path that validates
property types for internal classes.

Fix GH-10248: Assertion `!(zval_get_type(&(*(property))) == 10)' failed.

The assertion failure was triggered in a debug code-path that validates
property types for internal classes.
zend_verify_internal_read_property_type was called with retval being a
reference, which is not allowed because that function eventually calls to
i_zend_check_property_type, which does not expect a reference.
The non-debug code-path already takes into account that retval can be a
reference, as it optionally dereferences retval.

Add a dereference in zend_verify_internal_read_property_type just before
the call to zend_verify_property_type, which is how other callers often
behave as well.

show more ...


# 4fb14939 13-Jan-2023 Arnaud Le Blanc

GC fiber unfinished executions (#9810)


# 5d1f3e04 04-Nov-2022 Arnaud Le Blanc

Fix generator memory leaks when interrupted during argument evaluation (#9756)


Revision tags: php-8.1.7RC1
# 11057372 10-Mar-2022 Ilija Tovilo

Disallow assigning reference to unset readonly property

Closes GH-7942
Closes GH-8188

Revision tags: php-8.1.4RC1, php-8.1.3
# 71847837 01-Feb-2022 Dmitry Stogov

Prevent array modification if it's captured by user error handler during
index conversion

Fixes oss-fuzz #44235

Revision tags: php-8.1.2RC1
# b16fc350 14-Dec-2021 Dmitry Stogov

Move common code into helper

# 1e56b647 13-Dec-2021 Dmitry Stogov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Combine ADDREF/DELREF


# c787f42c 13-Dec-2021 Dmitry Stogov

Combine ADDREF/DELREF

# 76075823 13-Dec-2021 Dmitry Stogov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix array clobering by user error handler


# cbc0b1af 13-Dec-2021 Dmitry Stogov

Fix array clobering by user error handler

Fixes oss-fuzz #42234

# 08f1d470 07-Dec-2021 Dmitry Stogov

Separate "cold" code

# 5459ed4c 06-Dec-2021 Dmitry Stogov

Fix use after free because of data clobbering by user error handler

Fixes oss-fuzz #41692

# 731ce6be 03-Dec-2021 Dmitry Stogov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix array object clobbering by user error handler


# 1d054b3f 03-Dec-2021 Dmitry Stogov

Fix array object clobbering by user error handler

Fixes oss-fuss #41605 and #41610

# b9ff359a 02-Dec-2021 Dmitry Stogov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Add missing zend_string_release_ex(tmp, 0) and cleanup


# 37ac707c 02-Dec-2021 Dmitry Stogov

Add missing zend_string_release_ex(tmp, 0) and cleanup

- use GC_DELREF() instead of zend_string_release_ex()
- add expectations for exceptional cases
- replace IS_ARRAY_IMMUTABLE by

Add missing zend_string_release_ex(tmp, 0) and cleanup

- use GC_DELREF() instead of zend_string_release_ex()
- add expectations for exceptional cases
- replace IS_ARRAY_IMMUTABLE by IS_STR_INTERNED

show more ...

# 4eaba3e2 02-Dec-2021 Dmitry Stogov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fixed ext/bz2/tests/005.phpt test failure introduesed by 09547c64c28f81957d986b9c6b995b28d1098db6


# df16da36 02-Dec-2021 Dmitry Stogov

Fixed ext/bz2/tests/005.phpt test failure introduesed by 09547c64c28f81957d986b9c6b995b28d1098db6

# e833e5cf 01-Dec-2021 Dmitry Stogov

Merge branch 'PHP-8.0' into PHP-8.1

* PHP-8.0:
Fix clobering of operand by error handler in assignment to string offset (optimization and JIT support)


# 4595a57e 01-Dec-2021 Dmitry Stogov

Fix clobering of operand by error handler in assignment to string offset (optimization and JIT support)

12345678910>>...75