mirror of
https://github.com/php/php-src.git
synced 2026-04-19 14:01:01 +02:00
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
14 lines
328 B
PHP
14 lines
328 B
PHP
--TEST--
|
|
Bug #75571 (Infinite loop in GIF reading causing DoS)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('gd')) die('skip gd extension not available');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
var_dump(imagecreatefromgif(__DIR__ . '/bug75571.gif'));
|
|
?>
|
|
--EXPECTF--
|
|
Warning: imagecreatefromgif(): '%s' is not a valid GIF file in %s on line %d
|
|
bool(false)
|