Annotation of embedaddon/php/ext/exif/tests/bug48378.phpt, revision 1.1.1.1

1.1       misho       1: --TEST--
                      2: Bug #48378 (Infinite recursion due to corrupt JPEG)
                      3: --SKIPIF--
                      4: <?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
                      5: --FILE--
                      6: <?php
                      7: exif_read_data(
                      8: dirname(__FILE__) . "/bug48378.jpeg", 
                      9: "FILE,COMPUTED,ANY_TAG"
                     10: );
                     11: ?>
                     12: --EXPECTF--
                     13: Warning: exif_read_data(%s): Invalid IFD start in %s48378.php on line %d
                     14: 
                     15: Warning: exif_read_data(%s): Error reading from file: got=x08B4(=2228) != itemlen-2=x1FFE(=8190) in %s48378.php on line %d
                     16: 
                     17: Warning: exif_read_data(%s): Invalid JPEG file in %s48378.php on line %d
                     18: 
                     19: 

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