[php-src] Issue #13554: Imagick::readImage segfaults with heic file
| From: | pfanni68 | Date: | Wed, 28 Feb 2024 22:51:04 +0000 |
| Subject: | [php-src] Issue #13554: Imagick::readImage segfaults with heic file | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-246493@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/13554
Author: pfanni68
### Description
The following code:
```php
<?php
$bp = new Imagick();
$bp->readImage("image1.heic");
?>
```
Resulted in this output:
```
segfault
```
php loads somehow libavutils.so.58 which creates a segfault in buffer.c, line 121.
[php_heic_output.zip](https://github.com/php/php-src/files/14440592/php_heic_output.zip)
### PHP Version
PHP 8.2.16
### Operating System
Linux openSUSE Tumbleweed