mirror of
https://github.com/php/php-src.git
synced 2026-04-22 15:38:49 +02:00
c5401854fc
This should fix most of the remaining issues with tabs and spaces being mixed in tests.
16 lines
265 B
PHP
16 lines
265 B
PHP
--TEST--
|
|
Bug #72227: imagescale out-of-bounds read
|
|
--SKIPIF--
|
|
<?php
|
|
if (!extension_loaded('gd')) die("skip gd extension not available\n");
|
|
?>
|
|
--FILE--
|
|
<?php
|
|
|
|
$img = imagecreatetruecolor ( 100, 100);
|
|
imagescale($img, 13, 1, IMG_BICUBIC);
|
|
?>
|
|
DONE
|
|
--EXPECT--
|
|
DONE
|