com php-src: Remove superfluous CLEAN sections: ext/gd/tests/im agegif_nullbyte_injection.phpt ext/gd/tests/imagejpeg _nullbyte_injection.phpt
ext/gd/tests/imagepng_nullby te_injection.phpt ext/gd/tests/imagewbmp_nullbyte_inj ection.phpt ext/gd/tests/imagewebp_nullbyte_injection .phpt

From: Date: Thu, 13 Jun 2019 12:33:41 +0000
Subject: com php-src: Remove superfluous CLEAN sections: ext/gd/tests/im agegif_nullbyte_injection.phpt ext/gd/tests/imagejpeg _nullbyte_injection.phpt
ext/gd/tests/imagepng_nullby te_injection.phpt ext/gd/tests/imagewbmp_nullbyte_inj ection.phpt ext/gd/tests/imagewebp_nullbyte_injection .phpt
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106767@lists.php.net to get a copy of this message
Commit: 2018615c2a0ab5fcb5f49006df027acdb61aaa36 Author: Christoph M. Becker <cmbecker69@gmx.de> Thu, 13 Jun 2019 14:32:06 +0200 Parents: f36282c52187c1855ae4385f1d1658a0367c9fa0 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2018615c2a0ab5fcb5f49006df027acdb61aaa36 Log: Remove superfluous CLEAN sections These actually should have been removed with commit be73ae3[1]. [1] <https://github.com/php/php-src/commit/be73ae31324f7f3294a9467c0646dba4324c78ef> Changed paths: M ext/gd/tests/imagegif_nullbyte_injection.phpt M ext/gd/tests/imagejpeg_nullbyte_injection.phpt M ext/gd/tests/imagepng_nullbyte_injection.phpt M ext/gd/tests/imagewbmp_nullbyte_injection.phpt M ext/gd/tests/imagewebp_nullbyte_injection.phpt Diff: diff --git a/ext/gd/tests/imagegif_nullbyte_injection.phpt b/ext/gd/tests/imagegif_nullbyte_injection.phpt index c5acdd4..5793e90 100644 --- a/ext/gd/tests/imagegif_nullbyte_injection.phpt +++ b/ext/gd/tests/imagegif_nullbyte_injection.phpt @@ -4,10 +4,6 @@ Testing null byte injection in imagegif <?php if(!extension_loaded('gd')){ die('skip gd extension not available'); } ?> ---CLEAN-- -$tempdir = sprintf("%s/%s", sys_get_temp_dir(), preg_replace("~\.php$~", null, __FILE__)); -foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } -rmdir($tempdir); --FILE-- <?php $image = imagecreate(1,1);// 1px image diff --git a/ext/gd/tests/imagejpeg_nullbyte_injection.phpt b/ext/gd/tests/imagejpeg_nullbyte_injection.phpt index 29cb537..381421d 100644 --- a/ext/gd/tests/imagejpeg_nullbyte_injection.phpt +++ b/ext/gd/tests/imagejpeg_nullbyte_injection.phpt @@ -8,10 +8,6 @@ if (!isset($support['JPEG Support']) || $support['JPEG Support'] === false) { print 'skip jpeg support not available'; } ?> ---CLEAN-- -$tempdir = sprintf("%s/%s", sys_get_temp_dir(), preg_replace("~\.php$~", null, __FILE__)); -foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } -rmdir($tempdir); --FILE-- <?php $image = imagecreate(1,1);// 1px image diff --git a/ext/gd/tests/imagepng_nullbyte_injection.phpt b/ext/gd/tests/imagepng_nullbyte_injection.phpt index 271d4d5..7731785 100644 --- a/ext/gd/tests/imagepng_nullbyte_injection.phpt +++ b/ext/gd/tests/imagepng_nullbyte_injection.phpt @@ -8,10 +8,6 @@ if (!isset($support['PNG Support']) || $support['PNG Support'] === false) { print 'skip png support not available'; } ?> ---CLEAN-- -$tempdir = sprintf("%s/%s", sys_get_temp_dir(), preg_replace("~\.php$~", null, __FILE__)); -foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } -rmdir($tempdir); --FILE-- <?php $image = imagecreate(1,1);// 1px image diff --git a/ext/gd/tests/imagewbmp_nullbyte_injection.phpt b/ext/gd/tests/imagewbmp_nullbyte_injection.phpt index fc5d238..6f7557d 100644 --- a/ext/gd/tests/imagewbmp_nullbyte_injection.phpt +++ b/ext/gd/tests/imagewbmp_nullbyte_injection.phpt @@ -8,10 +8,6 @@ if (!isset($support['WBMP Support']) || $support['WBMP Support'] === false) { print 'skip wbmp support not available'; } ?> ---CLEAN-- -$tempdir = sprintf("%s/%s", sys_get_temp_dir(), preg_replace("~\.php$~", null, __FILE__)); -foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } -rmdir($tempdir); --FILE-- <?php $image = imagecreate(1,1);// 1px image diff --git a/ext/gd/tests/imagewebp_nullbyte_injection.phpt b/ext/gd/tests/imagewebp_nullbyte_injection.phpt index d778d0a..68712f2 100644 --- a/ext/gd/tests/imagewebp_nullbyte_injection.phpt +++ b/ext/gd/tests/imagewebp_nullbyte_injection.phpt @@ -8,10 +8,6 @@ if (!isset($support['WebP Support']) || $support['WebP Support'] === false) { print 'skip webp support not available'; } ?> ---CLEAN-- -$tempdir = sprintf("%s/%s", sys_get_temp_dir(), preg_replace("~\.php$~", null, __FILE__)); -foreach (glob($tempdir . "/test*") as $file ) { unlink($file); } -rmdir($tempdir); --FILE-- <?php $image = imagecreate(1,1);// 1px image

« previous php.cvs (#106767) next »