mirror of
https://github.com/php/php-src.git
synced 2026-04-23 07:58:20 +02:00
f80ad18afa
I do not completely understand what is going on there, but I am pretty sure dir_entry <= offset_base if not a normal situation, so we better not to rely on such dir_entry.
12 lines
258 B
PHP
12 lines
258 B
PHP
--TEST--
|
|
Bug #77950 (Heap-buffer-overflow in _estrndup via exif_process_IFD_TAG)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
|
|
--FILE--
|
|
<?php
|
|
exif_read_data(__DIR__."/bug77950.tiff");
|
|
?>
|
|
DONE
|
|
--EXPECTF--
|
|
%A
|
|
DONE
|