1--TEST-- 2PHP crash when zend_multibyte_encoding_converter returns (size_t)-1) 3--SKIPIF-- 4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?> 5--FILE-- 6<?php 7$infile = __DIR__.'/exif_encoding_crash.jpg'; 8$exif_data = exif_read_data($infile); 9echo "*** no core dump ***\n"; 10?> 11===DONE=== 12--EXPECT-- 13*** no core dump *** 14===DONE=== 15