exiv2/tests/bugfixes/github
clanmills 90f9f0bc19
Add support for Exif.Canon.AF tags to be read from images
This PR (and fix981_canonAutoFocus2) use a decoder listed in TiffMappingInfo to
decode Exif.Canon.AFInfo. The decoding function "manufactures" Exif tags such as
Exif.Canon.AFNumPoints from the data in Exif.Canon.AFInfo. These tags must never
be written to file and are removed from the metadata in
exif.cpp/ExifParser::encode().

Three of the tags created (AFPointsInFocus,AFPointsSelected, AFPrimaryPoint) are
bitmasks. As the camera can have up to 64 focus points, the tags are a 64 bit
mask to say which points are active. The function printBitmask() reports data
such as 1,2,3 or (none).

This decoding function decodeCanonAFInfo() added to TiffMappingInfo manufactures
the new tags. Normally, tags are processed by the binary tag decoder and that
approach was taken in branch fix981_canonAf. However, the binary tag decoder
cannot deal with AFInfo because the size of some metadata arrays cannot be
determined at compile time.
2019-09-14 11:28:18 +02:00
..
__init__.py Added some example test cases to the new test suite 2018-01-05 00:43:43 +01:00
test_CVE_2017_9953.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_11336.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_11337.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_11338.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_11339.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_11340.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_11553.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_11591.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_11592.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_11683.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_12955.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_12956.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_12957.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_14857.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_14858.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_14859.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_CVE_2017_14860.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_CVE_2017_14861.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_14862.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_CVE_2017_14863.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_14864.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_CVE_2017_14865.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_14866.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2017_17669.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_CVE_2017_17722.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_CVE_2017_17724.py [testsuite] Add reproducers for CVE-2017-17724 & #209, #211 2018-10-11 14:06:16 +02:00
test_CVE_2017_17725.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_CVE_2017_18005.py Changes for cross-platform getopt 2018-09-01 20:19:45 +02:00
test_CVE_2017_1000126.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_CVE_2017_1000127.py [testsuite] Update testsuite after printStructure deletion 2018-09-13 11:18:29 +02:00
test_CVE_2018_2018_14046.py [testsuite] Add reproducer for #378/CVE-2018-14046 to the testsuite 2018-07-16 23:40:23 +02:00
test_CVE_2018_4868.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_CVE_2018_9145.py Skip python tests using -pR 2018-11-22 18:19:08 +01:00
test_CVE_2018_10999.py Analyze minimum needed number of null separators in PngChunk::parseTXTChunk 2018-05-23 10:57:13 +02:00
test_CVE_2018_11531.py [testsuite] Fix name of regression test #283 2018-06-06 13:31:53 +02:00
test_CVE_2018_12264.py [tests] Change name of test for #365 and #366 2018-07-30 00:32:07 +02:00
test_CVE_2018_12265.py [tests] Change name of test for #365 and #366 2018-07-30 00:32:07 +02:00
test_issue_20.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_issue_45.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_issue_159.py [testsuite] Add reproducer for second bug from #159 2018-10-12 00:41:46 +02:00
test_issue_170.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_issue_211.py [testsuite] Add reproducers for CVE-2017-17724 & #209, #211 2018-10-11 14:06:16 +02:00
test_issue_216.py Skip python tests using -pR 2018-11-22 18:19:08 +01:00
test_issue_227.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_issue_246.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_issue_247.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_issue_253.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00
test_issue_262.py Add reproducer for #262 to the test suite 2018-09-13 11:18:29 +02:00
test_issue_263.py [testsuite] Add reproducers for #263 2018-10-12 00:41:46 +02:00
test_issue_400.py Add reproducer for #400 to the test suite 2018-08-21 13:46:53 +02:00
test_issue_426.py Add regression test for #426 2018-11-06 13:17:35 +01:00
test_issue_428.py Add remaining pocs for the issue 428 and adapt the regression test 2018-09-11 09:49:59 +02:00
test_issue_457.py Add reproducer for #457 2018-10-13 11:37:57 +02:00
test_issue_460.py Add reproducer for #460 2018-10-14 11:58:25 +02:00
test_issue_511.py Skip python tests using -pR 2018-11-22 18:19:08 +01:00
test_issue_561.py Add test reproducer for #561 2018-11-26 16:39:00 +01:00
test_issue_590.py [tests] Add regression test for second bug from #590 2019-02-26 00:09:21 +01:00
test_issue_598.py Add Tamron SP 70-300mm f/4-5.6 Di VC USD (Model: A030) (Nikon Mount) 2019-05-27 07:35:31 +02:00
test_issue_646.py Move test to github (from redmine) 2019-06-18 21:29:55 +02:00
test_issue_742.py Update tests/bugfixes/github/test_issue_742.py 2019-04-07 18:06:42 +02:00
test_issue_743.py fix743_NikonSigmaArtLens 2019-05-21 11:30:33 +01:00
test_issue_756.py [tests] Add regression test for #756 2019-03-25 23:56:57 +01:00
test_issue_789.py Avoid negative integer overflow when chunkLength == 0. 2019-05-06 06:27:10 +02:00
test_issue_790.py Avoid negative integer overflow when iccOffset > chunkLength. 2019-05-05 12:21:32 +02:00
test_issue_791.py Update tests/bugfixes/github/test_issue_791.py 2019-05-12 14:15:21 +02:00
test_issue_818.py fix #818. Restore 0.25 behaviour of $ exiv2 -g image ... to apply grep to keys. 2019-05-11 07:35:26 +02:00
test_issue_828.py Add better bounds checking in PngImage::printStructure(). (#862) 2019-05-17 05:44:28 +02:00
test_issue_839.py Add bounds check. (#840) 2019-05-15 08:58:38 +02:00
test_issue_841.py Throw an exception if the data location is invalid. (#842) 2019-05-15 11:12:02 +02:00
test_issue_843.py Avoid integer overflow. 2019-05-13 22:46:25 +02:00
test_issue_845.py Remove call to atol, which might read off the end of the buffer. (#870) 2019-05-17 12:45:42 +02:00
test_issue_847.py Check bounds of allocation size. (#848) 2019-05-15 13:00:41 +02:00
test_issue_851.py Check bounds in XMP SDK (#852) 2019-05-16 07:40:47 +02:00
test_issue_853.py Add bounds check on allocation size. (#854) 2019-05-16 09:36:26 +02:00
test_issue_855.py Add bounds check of resourceSize. (#856) 2019-05-16 11:24:18 +02:00
test_issue_857.py Check bounds of jpg_img_off and jpg_img_len. (#858) 2019-05-16 15:30:12 +02:00
test_issue_867.py Prevent out-of-bounds read. (#868) 2019-05-17 07:06:56 +02:00
test_issue_869.py Remove call to atol, which might read off the end of the buffer. (#870) 2019-05-17 12:45:42 +02:00
test_issue_943.py Add a second test for better code coverage. 2019-07-06 16:09:18 +01:00
test_issue_960.py Add regression test for #960 2019-07-15 22:35:38 +02:00
test_issue_981.py Add support for Exif.Canon.AF tags to be read from images 2019-09-14 11:28:18 +02:00
test_issue_990.py [tests] Add regression test for Tamron 70-200 G1 lens name 2019-08-27 22:12:59 +00:00
test_pr_317.py [testsuite] Use system_tests.path() in some test cases 2018-05-29 10:21:13 +02:00
test_pr_906.py Add support for FocusPosition in Sony RAW files (#906) 2019-06-26 21:36:59 +02:00
test_pr_992.py add test case 2019-08-28 13:53:12 +02:00
test_regression_issue_201.py [testsuite] Addapt tests to new test suite structure 2018-04-23 10:17:36 +02:00