xref: /php-src/ext/gd/tests/bug75571.phpt (revision a375d547)
1--TEST--
2Bug #75571 (Infinite loop in GIF reading causing DoS)
3--EXTENSIONS--
4gd
5--FILE--
6<?php
7var_dump(imagecreatefromgif(__DIR__ . '/bug75571.gif'));
8?>
9--EXPECTF--
10Warning: imagecreatefromgif(): "%s" is not a valid GIF file in %s on line %d
11bool(false)
12