Willkommen bei WordPress. Dies ist dein erster Beitrag. Bearbeite oder lösche ihn und beginne mit dem Schreiben!
Hallo Welt!
von raredesign | Dez 3, 2019 | Allgemein | 0 Kommentare
Cokiee Shell
Current Path : /proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/gd/tests/ |
Current File : //proc/self/root/usr/local/src/php72/php-7.2.12/php-7.2.12/ext/gd/tests/bug66339.phpt |
--TEST-- Bug #66339 (PHP segfaults in imagexbm) --SKIPIF-- <?php if (!extension_loaded('gd')) die('skip gd extension not available'); ?> --FILE-- <?php $im = imagecreate(8, 8); imagecolorallocate($im, 0, 0, 0); // background $white = imagecolorallocate($im, 255, 255, 255); imagefilledrectangle($im, 2, 2, 6, 6, $white); imagexbm($im, NULL); echo "------------\n"; imagexbm($im, './bug66339.xbm'); echo file_get_contents('./bug66339.xbm'); ?> --CLEAN-- <?php unlink('./bug66339.xbm'); ?> --EXPECT-- #define image_width 8 #define image_height 8 static unsigned char image_bits[] = { 0xFF, 0xFF, 0x83, 0x83, 0x83, 0x83, 0x83, 0xFF}; ------------ #define bug66339_width 8 #define bug66339_height 8 static unsigned char bug66339_bits[] = { 0xFF, 0xFF, 0x83, 0x83, 0x83, 0x83, 0x83, 0xFF};
Cokiee Shell Web 1.0, Coded By Razor
Neueste Kommentare