[php-src] Issue #8001: imageftbbox returns too small bounding box

From: Date: Sat, 29 Jan 2022 23:59:26 +0000
Subject: [php-src] Issue #8001: imageftbbox returns too small bounding box
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-239348@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8001 Comment Author: mirabilos Huh, indeed. Installing php7.3-{cli,gd} on bullseye (after removing the Breaks from php-common the maintainer added just to make it harder to coinstall the versions) yields the same broken values… ``` $ php7.3 x.php |fgrep scender [ascender] => 11 [descender] => 0 ``` … while LD_PRELOADing the exact library from buster libgd3_2.2.5-5.2_amd64.deb, ceteris paribus, gives the correct values: ``` $ LD_PRELOAD=$PWD/libgd.so.3.0.5 php7.3 x.php |fgrep scender [ascender] => 13 [descender] => 1 $ LD_PRELOAD=$PWD/libgd.so.3.0.5 php7.4 x.php |fgrep scender [ascender] => 13 [descender] => 1 ``` This makes it 100% clear that libgd3 is at fault. I reported this as https://github.com/libgd/libgd/issues/814 and will reassign the Debian bug. (Now, if the PHP maintainers in Debian had done their duty, this could have been resolved much earlier…)

« previous php.bugs (#239348) next »