xref: /PHP-8.0/ext/exif/tests/bug77540.phpt (revision 6c4e2079)
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--EXPECT--
14Width 0
15Height 0
16DONE