mirror of
https://github.com/php/php-src.git
synced 2026-04-20 14:31:06 +02:00
The variables "components" is an integer, but is being output as long. As a result it is printing 8 bytes instead of 4 bytes.
15 lines
492 B
PHP
15 lines
492 B
PHP
--TEST--
|
|
Bug #73737 (Crash when parsing a tag format)
|
|
--SKIPIF--
|
|
<?php if (!extension_loaded('exif')) print 'skip exif extension not available';?>
|
|
--FILE--
|
|
<?php
|
|
$exif = exif_thumbnail(__DIR__ . '/bug73737.tiff');
|
|
var_dump($exif);
|
|
?>
|
|
--EXPECTF--
|
|
Warning: exif_thumbnail(bug73737.tiff): Process tag(x0100=ImageWidth ): Illegal components(0) in %s on line %d
|
|
|
|
Warning: exif_thumbnail(bug73737.tiff): Error in TIFF: filesize(x0030) less than start of IFD dir(x10102) in %s line %d
|
|
bool(false)
|