xref: /PHP-7.1/ext/exif/tests/bug77540.phpt (revision 5f0e62a3)
1--TEST--
2Bug 77540 (Invalid Read on exif_process_SOFn)
3--SKIPIF--
4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
5--FILE--
6<?php
7$width = $height = 42;
8$s = exif_thumbnail(__DIR__."/bug77540.jpg", $width, $height);
9echo "Width ".$width."\n";
10echo "Height ".$height."\n";
11?>
12DONE
13--EXPECTF--
14Width 0
15Height 0
16DONE