#
5d1f3e04 |
| 04-Nov-2022 |
Arnaud Le Blanc |
Fix generator memory leaks when interrupted during argument evaluation (#9756)
|
#
c787f42c |
| 13-Dec-2021 |
Dmitry Stogov |
Combine ADDREF/DELREF
|
#
cbc0b1af |
| 13-Dec-2021 |
Dmitry Stogov |
Fix array clobering by user error handler Fixes oss-fuzz #42234
|
#
1d054b3f |
| 03-Dec-2021 |
Dmitry Stogov |
Fix array object clobbering by user error handler Fixes oss-fuss #41605 and #41610
|
#
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 ...
|
#
df16da36 |
| 02-Dec-2021 |
Dmitry Stogov |
Fixed ext/bz2/tests/005.phpt test failure introduesed by 09547c64c28f81957d986b9c6b995b28d1098db6
|
#
4595a57e |
| 01-Dec-2021 |
Dmitry Stogov |
Fix clobering of operand by error handler in assignment to string offset (optimization and JIT support)
|
#
09547c64 |
| 01-Dec-2021 |
Dmitry Stogov |
Fix clobering of operand by error handler in assignment to string offset In some cases new code requires two reallocations insead of one. Fixes oss-fuzz #31716, #36196, #39739 and #
Fix clobering of operand by error handler in assignment to string offset In some cases new code requires two reallocations insead of one. Fixes oss-fuzz #31716, #36196, #39739 and #40002
show more ...
|
#
9f6ab786 |
| 01-Dec-2021 |
Dmitry Stogov |
Use proper functions
|
#
df434f05 |
| 30-Nov-2021 |
Dmitry Stogov |
Fix crash after indirect modification of string by user error handler Fixes oss-fuzz #39346
|
#
96bf925c |
| 02-Jul-2021 |
Nikita Popov |
Fix return value of wrong fucntion by-ref assign We should be using the result of zend_assign_to_variable() here, which will deref prior to potential freeing. Fixes oss-fuzz #29
Fix return value of wrong fucntion by-ref assign We should be using the result of zend_assign_to_variable() here, which will deref prior to potential freeing. Fixes oss-fuzz #29899.
show more ...
|
#
f0fd5922 |
| 17-Jun-2021 |
George Peter Banyard |
Fix bug #81159: Object to int warning when using an object as a string offset Closes GH-7167
|
#
82f6f6da |
| 31-May-2021 |
Nikita Popov |
Fixed bug #81090 For concatenation, the in-place variant can be much more efficient, because it will reallocate the string in-place. Special-case the typed property compound assignme
Fixed bug #81090 For concatenation, the in-place variant can be much more efficient, because it will reallocate the string in-place. Special-case the typed property compound assignment code for the case where we concatenate to a string, in which case we know that the result will also be a string, and we don't need the type check anyway.
show more ...
|
#
97f8ca52 |
| 25-Apr-2021 |
George Peter Banyard |
Fix Bug #80972: Memory exhaustion on invalid string offset Closes GH-6909
|
#
418fcd22 |
| 20-Apr-2021 |
George Peter Banyard |
Fix Bug #80972: Memory exhaustion on invalid string offset Closes GH-6890
|
#
39d8fc1e |
| 31-Mar-2021 |
Dmitry Stogov |
Changed PowerPC CPU registers used by Zend VM to work around GCC bug. Old registers (r28/r29) might be clobbered by _restgpr routine used for return from C function compiled with -Os.
|
#
75a4f484 |
| 01-Mar-2021 |
Nikita Popov |
Fixed bug #80811 When filling in defaults for skipped params, make sure that reference parameters get the expected reference wrapper.
|
#
ab989441 |
| 22-Feb-2021 |
Nikita Popov |
Fix trampoline leak on dynamic static call of non-static method Fixes oss-fuzz #30317.
|
#
6dd85f83 |
| 22-Feb-2021 |
Nikita Popov |
Fixed bug #80781 zend_find_array_dim_slow() may throw, make sure to handle this. This backports the code we already use for this on PHP-8.0, and also backports an exception check tha
Fixed bug #80781 zend_find_array_dim_slow() may throw, make sure to handle this. This backports the code we already use for this on PHP-8.0, and also backports an exception check that makes this easier to catch.
show more ...
|
#
7b7d9983 |
| 15-Feb-2021 |
Nikita Popov |
Fix symtable cache being used while cleaning symtable We need to first clean the symtable and then check whether a cache slot is available for it. Otherwise, it may happen that a destruc
Fix symtable cache being used while cleaning symtable We need to first clean the symtable and then check whether a cache slot is available for it. Otherwise, it may happen that a destructor runs while cleaning the table and uses up all the remaining slots in the cache. This is particularly insidious because once we overflow the cache, the first pointer we modify is symtable_cache_ptr, making it hard to understand what happened after the fact. Fixes oss-fuzz #30815.
show more ...
|
#
d80d9185 |
| 11-Feb-2021 |
Nikita Popov |
Don't throw additional Error in require_once if exception already thrown As pointed out in comments on bug #66216.
|
#
d4aff254 |
| 09-Feb-2021 |
Nikita Popov |
Use E_ERROR to report arginfo/zpp mismatch When E_CORE_ERROR is used, we don't get correct file/line information.
|
#
973138f3 |
| 06-Jan-2021 |
Nikita Popov |
Add support for union types for internal functions This closes the last hole in the supported types for internal function arginfo types. It's now possible to represent unions of mult
Add support for union types for internal functions This closes the last hole in the supported types for internal function arginfo types. It's now possible to represent unions of multiple classes. This is done by storing them as TypeA|TypeB and PHP will then convert this into an appropriate union type list. Closes GH-6581.
show more ...
|
#
27e25088 |
| 21-Dec-2020 |
Nikita Popov |
Fix bug #80537 This is an unavoidable breaking change to both the type and parameter name. The assertion that was supposed to prevent this was overly lax and accepted any ob
Fix bug #80537 This is an unavoidable breaking change to both the type and parameter name. The assertion that was supposed to prevent this was overly lax and accepted any object type for string parameters.
show more ...
|
#
77325c44 |
| 04-Dec-2020 |
Nikita Popov |
Fix removal of type source during unserialization Missed a check for info in this code. Add it, and add an assertion in type source removal to make it easier to catch this issue.
Fix removal of type source during unserialization Missed a check for info in this code. Add it, and add an assertion in type source removal to make it easier to catch this issue. Fixes oss-fuzz #28208 and #28257.
show more ...
|