mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
45f7b2bcc8
Also fix a single instance of CRLF in ibase_query.c.
16 lines
359 B
PHP
16 lines
359 B
PHP
--TEST--
|
|
Bug #72494 (imagecropauto out-of-bounds access)
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('gd')) die('skip gd extension not available');
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
$im = imagecreate(10,10);
|
|
imagecropauto($im, IMG_CROP_THRESHOLD, 0, 1337);
|
|
?>
|
|
===DONE===
|
|
--EXPECTF--
|
|
Warning: imagecropauto(): Color argument missing with threshold mode in %s on line %d
|
|
===DONE===
|