- --TEST--
- PHP crash when zend_multibyte_encoding_converter returns (size_t)-1)
- --SKIPIF--
- <?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
- --FILE--
- <?php
- $infile = dirname(__FILE__).'/exif_encoding_crash.jpg';
- $exif_data = exif_read_data($infile);
- echo "*** no core dump ***\n";
- ?>
- ===DONE===
- --EXPECT--
- *** no core dump ***
- ===DONE===
|