xref: /PHP-8.0/ext/exif/tests/bug77950.phpt (revision f80ad18a)
1--TEST--
2Bug #77950 (Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG)
3--SKIPIF--
4<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
5--FILE--
6<?php
7exif_read_data(__DIR__."/bug77950.tiff");
8?>
9DONE
10--EXPECTF--
11%A
12DONE