php-src/ext/exif/tests
Kalle Sommer Nielsen af56fed73b Fixed bug #71534 (Type confusion in exif_read_data() leading to heap overflow in debug mode)
Unlike the original patch, this does not return an unknown format in case an unsigned compatible type cannot be found (cases for SINGLE and DOUBLE removed), as these seems rare cases according to the inline comments.

Note, the test does not test if PHP is in debug mode, although the report originally states it only occurs there only.

The fix is based on a patch by hlt99 at blinkenshell dot org
2016-08-07 05:35:46 +02:00
..
bug72735 - add a test for makernote (#72682) 2016-08-03 18:33:26 +02:00
bug34704-mb.phpt Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
bug34704.jpg
bug34704.phpt Merge branch 'PHP-5.3' into PHP-5.4 2012-10-10 10:31:31 +08:00
bug34704私はガラスを食べられます.jpg Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
bug48378.jpeg - MFH: #48378, exif_read_data() segfaults on certain corrupted .jpeg files 2009-05-28 13:48:32 +00:00
bug48378.phpt - MFH: #48378, exif_read_data() segfaults on certain corrupted .jpeg files 2009-05-28 13:48:32 +00:00
bug50845.jpg Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream 2016-06-14 10:48:08 -07:00
bug50845.phpt Fix #50845: exif_process_IFD_TAG: Use the right offset if reading from stream 2016-06-14 10:48:08 -07:00
bug54002_1.jpeg - fix bug #54002, exif_read_data crashes on crafted tags 2011-02-14 09:08:44 +00:00
bug54002_2.jpeg - fix bug #54002, exif_read_data crashes on crafted tags 2011-02-14 09:08:44 +00:00
bug54002.phpt Fix tests 2016-07-18 23:30:51 -07:00
bug60150.jpg fix bug #60150 for 5.3 too 2011-11-19 04:49:36 +00:00
bug60150.phpt Remove executable permission on phpt 2012-10-10 10:27:49 +08:00
bug62523_1.jpg add tests for bug #62523 2013-10-21 22:15:09 +02:00
bug62523_1.phpt add tests for bug #62523 2013-10-21 22:15:09 +02:00
bug62523_2.jpg add tests for bug #62523 2013-10-21 22:15:09 +02:00
bug62523_2.phpt fix test portability and expectation 2016-07-19 14:49:24 +02:00
bug62523_3.jpg add tests for bug #62523 2013-10-21 22:15:09 +02:00
bug62523_3.phpt add tests for bug #62523 2013-10-21 22:15:09 +02:00
bug68113-mb.phpt Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
bug68113.jpg Fix bug #68113 (Heap corruption in exif_thumbnail()) 2014-10-14 10:44:00 -07:00
bug68113.phpt fix dir separator in test 2014-11-24 16:14:17 +01:00
bug68113私はガラスを食べられます.jpg Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
bug68547.jpg Fixed bug #68547 (Exif Header component value check error) (Patch by sjh21a at gmail dot com) 2016-08-05 10:03:14 +02:00
bug68547.phpt Fix tests, although I was not able to reproduce these failures on an x86 build/Windows, this should hopefully make travis happy 2016-08-07 04:22:27 +02:00
bug68799.jpg Fix bug #68799: Free called on unitialized pointer 2015-01-11 00:51:05 -08:00
bug68799.phpt Fix tests, although I was not able to reproduce these failures on an x86 build/Windows, this should hopefully make travis happy 2016-08-07 04:22:27 +02:00
bug71534.phpt Fixed bug #71534 (Type confusion in exif_read_data() leading to heap overflow in debug mode) 2016-08-07 05:35:46 +02:00
bug71534.tiff Fixed bug #71534 (Type confusion in exif_read_data() leading to heap overflow in debug mode) 2016-08-07 05:35:46 +02:00
bug72094_1.jpg Fix bug #72094 - Out of bounds heap read access in exif header processing 2016-04-24 19:33:52 -07:00
bug72094_2.jpg Fix bug #72094 - Out of bounds heap read access in exif header processing 2016-04-24 19:33:52 -07:00
bug72094_3.jpg Fix bug #72094 - Out of bounds heap read access in exif header processing 2016-04-24 19:33:52 -07:00
bug72094_4.jpg Fix bug #72094 - Out of bounds heap read access in exif header processing 2016-04-24 19:33:52 -07:00
bug72094.phpt Fix tests, although I was not able to reproduce these failures on an x86 build/Windows, this should hopefully make travis happy 2016-08-07 04:22:27 +02:00
bug72603.jpeg Fix bug #72603: Out of bound read in exif_process_IFD_in_MAKERNOTE 2016-07-17 16:34:21 -07:00
bug72603.phpt fix test portability and expectation 2016-07-19 14:49:24 +02:00
bug72618.jpg Fix bug #72618: NULL Pointer Dereference in exif_process_user_comment 2016-07-18 23:21:51 -07:00
bug72618.phpt fix test portability and expectation 2016-07-19 14:49:24 +02:00
exif000.phpt
exif001.phpt
exif002.phpt - remove magic quotes support, functions are kept (see the NEWS entry for the details) for BC reasons but do not allow to set enable MQ, missing tests changes in 5.4 2011-07-22 11:56:20 +00:00
exif003.phpt
exif004.phpt Remove superfluous echos. 2014-06-08 13:50:22 -07:00
exif005.phpt
exif007.phpt
exif008.phpt
exif009.phpt
exif010.phpt
exif011.phpt
exif012.phpt
exif013.phpt
exif014.phpt
exif015.phpt
exif016.phpt
exif017.phpt
exif018.phpt
exif020.phpt
exif021.phpt
exif022.phpt
exif023.phpt
exif024.phpt
exif025.phpt
exif026.phpt
exif027.phpt
exif_encoding_crash.jpg Merged PR #293 (Exif crash on unknown encoding was fixed) 2013-10-21 21:48:27 +02:00
exif_encoding_crash.phpt Merged PR #293 (Exif crash on unknown encoding was fixed) 2013-10-21 21:48:27 +02:00
exif_imagetype_basic-mb.phpt Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
exif_imagetype_basic.phpt
exif_imagetype_error.phpt
exif_imagetype_variation1.phpt Fix exif_imagetype() test after zpp change 2016-08-04 22:27:42 +02:00
exif_read_exif_data_basic-mb.phpt Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
exif_read_exif_data_basic.phpt
exif_tagname_basic.phpt
exif_tagname_error.phpt
exif_tagname_variation1-64bit.phpt Split this test up to a 64bit version for more coverage 2016-08-05 07:15:34 +02:00
exif_tagname_variation1.phpt Split this test up to a 64bit version for more coverage 2016-08-05 07:15:34 +02:00
image007.jpg
image008.jpg
image009.jpg
image010.jpg
image011.jpg
image012.jpg
image013.jpg
image014.jpg
image015.jpg
image016.tiff
image017.tiff
image018.tiff
image020.tiff
image021.tiff
image022.tiff
image023.tiff
image024.jpg
image025.jpg
image026.tiff
image027.tiff
redhat-bug1362571.jpg Fixed Redhat bug #1362571 (PHP not returning full results for exif_read_data function) 2016-08-03 11:59:30 +02:00
redhat-bug1362571.phpt Fixed Redhat bug #1362571 (PHP not returning full results for exif_read_data function) 2016-08-03 11:59:30 +02:00
sony.jpg Added support for Sony pictures in EXIF as per requested in bug #72735 2016-08-05 07:45:02 +02:00
sony.phpt Added support for Sony pictures in EXIF as per requested in bug #72735 2016-08-05 07:45:02 +02:00
test1.jpg
test2.jpg
test2私はガラスを食べられます.jpg Fixed the UTF-8 and long path support in the streams on Windows. 2016-06-20 12:45:39 +02:00
test3.jpg
test4.jpg
test5.jpg
test6.jpg