mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Merge branch 'PHP-7.4'
* PHP-7.4: Reset trampoline on executor startup Fix UAF in is_callable() and allocated trampoline
This commit is contained in:
commit
cb7b21009b
3 changed files with 29 additions and 6 deletions
|
@ -173,6 +173,7 @@ void init_executor(void) /* {{{ */
|
|||
EG(prev_exception) = NULL;
|
||||
|
||||
EG(fake_scope) = NULL;
|
||||
EG(trampoline).common.function_name = NULL;
|
||||
|
||||
EG(ht_iterators_count) = sizeof(EG(ht_iterators_slots)) / sizeof(HashTableIterator);
|
||||
EG(ht_iterators_used) = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue