MFB one more test

This commit is contained in:
Stanislav Malyshev 2007-09-19 00:49:25 +00:00
parent 5fce3f4e02
commit 16059f2b18

View File

@ -0,0 +1,12 @@
--TEST--
ob_iconv_handler() charset parameter length checks (CVE-2007-4840)
--SKIPIF--
<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?>
--FILE--
<?php
ini_set("iconv.output_encoding", str_repeat("a", 9000000));
ob_start("ob_iconv_handler");
print "done";
?>
--EXPECT--
done