You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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.
6 years ago
..
__init__.py Added some example test cases to the new test suite 8 years ago
test_CVE_2017_9953.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_11336.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_11337.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_11338.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_11339.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_11340.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_11553.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_11591.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_11592.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_11683.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_12955.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_12956.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_12957.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_14857.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_14858.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_14859.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_CVE_2017_14860.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_CVE_2017_14861.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_14862.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_CVE_2017_14863.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_14864.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_CVE_2017_14865.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_14866.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2017_17669.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_CVE_2017_17722.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_CVE_2017_17724.py [testsuite] Add reproducers for CVE-2017-17724 & #209, #211 7 years ago
test_CVE_2017_17725.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_CVE_2017_18005.py Changes for cross-platform getopt 7 years ago
test_CVE_2017_1000126.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_CVE_2017_1000127.py [testsuite] Update testsuite after printStructure deletion 7 years ago
test_CVE_2018_2018_14046.py [testsuite] Add reproducer for #378/CVE-2018-14046 to the testsuite 7 years ago
test_CVE_2018_4868.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_CVE_2018_9145.py Skip python tests using -pR 7 years ago
test_CVE_2018_10999.py Analyze minimum needed number of null separators in PngChunk::parseTXTChunk 7 years ago
test_CVE_2018_11531.py [testsuite] Fix name of regression test #283 7 years ago
test_CVE_2018_12264.py [tests] Change name of test for #365 and #366 7 years ago
test_CVE_2018_12265.py [tests] Change name of test for #365 and #366 7 years ago
test_issue_20.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_issue_45.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_issue_159.py [testsuite] Add reproducer for second bug from #159 7 years ago
test_issue_170.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_issue_211.py [testsuite] Add reproducers for CVE-2017-17724 & #209, #211 7 years ago
test_issue_216.py Skip python tests using -pR 7 years ago
test_issue_227.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_issue_246.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_issue_247.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_issue_253.py [testsuite] Addapt tests to new test suite structure 7 years ago
test_issue_262.py Add reproducer for #262 to the test suite 7 years ago
test_issue_263.py [testsuite] Add reproducers for #263 7 years ago
test_issue_400.py Add reproducer for #400 to the test suite 7 years ago
test_issue_426.py Add regression test for #426 7 years ago
test_issue_428.py Add remaining pocs for the issue 428 and adapt the regression test 7 years ago
test_issue_457.py Add reproducer for #457 7 years ago
test_issue_460.py Add reproducer for #460 7 years ago
test_issue_511.py Skip python tests using -pR 7 years ago
test_issue_561.py Add test reproducer for #561 7 years ago
test_issue_590.py [tests] Add regression test for second bug from #590 6 years ago
test_issue_598.py Add Tamron SP 70-300mm f/4-5.6 Di VC USD (Model: A030) (Nikon Mount) 6 years ago
test_issue_646.py Move test to github (from redmine) 6 years ago
test_issue_742.py Update tests/bugfixes/github/test_issue_742.py 6 years ago
test_issue_743.py fix743_NikonSigmaArtLens 6 years ago
test_issue_756.py [tests] Add regression test for #756 6 years ago
test_issue_789.py Avoid negative integer overflow when `chunkLength == 0`. 6 years ago
test_issue_790.py Avoid negative integer overflow when `iccOffset > chunkLength`. 6 years ago
test_issue_791.py Update tests/bugfixes/github/test_issue_791.py 6 years ago
test_issue_818.py fix #818. Restore 0.25 behaviour of `$ exiv2 -g image ...` to apply grep to keys. 6 years ago
test_issue_828.py Add better bounds checking in PngImage::printStructure(). (#862) 6 years ago
test_issue_839.py Add bounds check. (#840) 6 years ago
test_issue_841.py Throw an exception if the data location is invalid. (#842) 6 years ago
test_issue_843.py Avoid integer overflow. 6 years ago
test_issue_845.py Remove call to atol, which might read off the end of the buffer. (#870) 6 years ago
test_issue_847.py Check bounds of allocation size. (#848) 6 years ago
test_issue_851.py Check bounds in XMP SDK (#852) 6 years ago
test_issue_853.py Add bounds check on allocation size. (#854) 6 years ago
test_issue_855.py Add bounds check of resourceSize. (#856) 6 years ago
test_issue_857.py Check bounds of jpg_img_off and jpg_img_len. (#858) 6 years ago
test_issue_867.py Prevent out-of-bounds read. (#868) 6 years ago
test_issue_869.py Remove call to atol, which might read off the end of the buffer. (#870) 6 years ago
test_issue_943.py Add a second test for better code coverage. 6 years ago
test_issue_960.py Add regression test for #960 6 years ago
test_issue_981.py Add support for Exif.Canon.AF tags to be read from images 6 years ago
test_issue_990.py [tests] Add regression test for Tamron 70-200 G1 lens name 6 years ago
test_pr_317.py [testsuite] Use system_tests.path() in some test cases 7 years ago
test_pr_906.py Add support for FocusPosition in Sony RAW files (#906) 6 years ago
test_pr_992.py add test case 6 years ago
test_regression_issue_201.py [testsuite] Addapt tests to new test suite structure 7 years ago