Closed
Description
Description
The following code:
<?php
$dom = Dom\HTMLDocument::createFromString('<!DOCTYPE html><html></html>');
$dt1 = clone $dom->doctype;
$fusion = $dt1;
$fusion->prefix = $badStr;
Resulted in this output:
php: /home/phpfuzz/WorkSpace/flowfusion/php-src/ext/dom/php_dom.c:428: zval *dom_write_property(zend_object *, zend_string *, zval *, void **): Assertion `prop && (((prop->type).type_mask & ((1u << 25) - 1)) != 0)' failed.
Aborted (core dumped)
PHP Version
nightly
Operating System
No response