From: Kalle Sommer Nielsen Date: Wed, 3 Aug 2016 04:10:56 +0000 (+0200) Subject: Revert "Fixed bug #72735 (Samsung picture thumb not read (zero size))" X-Git-Tag: php-7.2.0alpha1~1558^2~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aa821d8cad082634c554c6a5ed9233cdc24b9cff;p=php Revert "Fixed bug #72735 (Samsung picture thumb not read (zero size))" This reverts commit 406dff2a02ff1cfac89942ce5e991d88d3b6cb50. This seems to break more than expected and other tests seems to fail: - bug60150.phpt - bug62523_2.phpt - bug72603.phpt - bug72618.phpt I'm gonna go do around of thinking and see if I can come up with a better fix --- diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 9e4c14a82d..9f951d78a3 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -3152,7 +3152,7 @@ static int exif_process_IFD_in_JPEG(image_info_type *ImageInfo, char *dir_start, for (de=0;deWidth = sof_info.width; ImageInfo->Height = sof_info.height; diff --git a/ext/exif/tests/bug72735/bug72735.phpt b/ext/exif/tests/bug72735/bug72735.phpt deleted file mode 100644 index 4a8d360ff0..0000000000 --- a/ext/exif/tests/bug72735/bug72735.phpt +++ /dev/null @@ -1,21 +0,0 @@ ---TEST-- -Bug #72735 (Samsung picture thumb not read (zero size)) ---SKIPIF-- - ---FILE-- - ---EXPECTF-- -nokia.jpg: int(%d) -samsung.jpg: int(%d) diff --git a/ext/exif/tests/bug72735/nokia.jpg b/ext/exif/tests/bug72735/nokia.jpg deleted file mode 100644 index 48367bfb84..0000000000 Binary files a/ext/exif/tests/bug72735/nokia.jpg and /dev/null differ diff --git a/ext/exif/tests/bug72735/samsung.jpg b/ext/exif/tests/bug72735/samsung.jpg deleted file mode 100644 index 70096066a8..0000000000 Binary files a/ext/exif/tests/bug72735/samsung.jpg and /dev/null differ