[php-src] Issue #19303: Assertion failure in zend_vm_execute.h found by `php-fuzz-execute`
| From: | gal1ium | Date: | Wed, 30 Jul 2025 08:50:23 +0000 |
| Subject: | [php-src] Issue #19303: Assertion failure in zend_vm_execute.h found by `php-fuzz-execute` | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-250523@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/19303
Author: gal1ium
### Description
The following code:
```php
<?php
$a=array();
for ($i=3; $i < 9999; $o++) {
$a[$i][0].= define('A',[...$a]);
unset($a[3]);
var_dump([...$a]);
}
```
Resulted in this output:
```
php-fuzz-execute: Zend/zend_vm_execute.h:2823: const zend_op
*ZEND_ADD_ARRAY_UNPACK_SPEC_HANDLER(zend_execute_data *, const zend_op *): Assertion
`(((__fill_ht)->u.flags & (1<<2)) != 0)' failed.
Aborted (core dumped)
```
### PHP Version
```plain
16b2fc41a3cf3871d5481c1efc2e16ac99a2890e
```
### Operating System
Linux