From: Christoph M. Becker Date: Wed, 4 Jan 2017 10:46:35 +0000 (+0100) Subject: Make test case even more resilient X-Git-Tag: php-7.2.0alpha1~660 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0c10ddb85107fa0564bf727d306adf7e74531247;p=php Make test case even more resilient The `components` value may obviously be negative, so we have to cater to that. --- diff --git a/ext/exif/tests/bug73737.phpt b/ext/exif/tests/bug73737.phpt index 149e3e3c56..00860651fc 100644 --- a/ext/exif/tests/bug73737.phpt +++ b/ext/exif/tests/bug73737.phpt @@ -8,7 +8,7 @@ Bug #73737 (Crash when parsing a tag format) var_dump($exif); ?> --EXPECTF-- -Warning: exif_thumbnail(bug73737.tiff): Process tag(x0100=ImageWidth ): Illegal components(%d) in %s on line %d +Warning: exif_thumbnail(bug73737.tiff): Process tag(x0100=ImageWidth ): Illegal components(%i) 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)