1--TEST-- 2ob_iconv_handler() charset parameter length checks (CVE-2007-4840) 3--SKIPIF-- 4<?php extension_loaded('iconv') or die('skip iconv extension is not available'); ?> 5--INI-- 6memory_limit=256M 7--FILE-- 8<?php 9ini_set("iconv.output_encoding", str_repeat("a", 9000000)); 10ob_start("ob_iconv_handler"); 11print "done"; 12?> 13--EXPECT-- 14done 15