File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / exif / tests / exif_encoding_crash.phpt
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Sun Jun 15 20:03:43 2014 UTC (10 years, 2 months ago) by misho
CVS tags: MAIN, HEAD
Initial revision

--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===

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>