Skip to content

zlib extension incorrectly handles object arguments #17745

Closed
@YuanchengJiang

Description

@YuanchengJiang

Description

The following code:

<?php
$doc = new DomDocument();
$doc->load(__DIR__ . DIRECTORY_SEPARATOR . 'bug69753ç§ã¯ã¬ã©ã¹ã飹ããã¾ã.xml');
$fusion = libxml_get_last_error();
deflate_init($error,$fusion);

Resulted in this output:

php: /home/phpfuzz/WorkSpace/flowfusion/php-src/Zend/zend_operators.c:965: zend_long zval_get_long_func(const zval *, _Bool): Assertion `0' failed.
Aborted (core dumped)

PHP Version

nightly

Operating System

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions