8276 Commits (137ea080b51fb48a7eb1b513d2d565868ccdf68f)
 

Author SHA1 Message Date
Christoph Hasse 687b38a130 refactor: use POSIX regex syntax as that is what was used before 4 years ago
Christoph Hasse d82980b563 refactor: replace old linux regex.h with regex from STL. 4 years ago
Christoph Hasse 969ffcc439 refactor: remove regex related cmake stuff 4 years ago
Christoph Hasse d152c0c13c refactor: remove FindRegex.cmake 4 years ago
Kevin Backhouse 944e68fa15
Merge pull request #1787 from Exiv2/mergify/bp/main/pr-1766
Extra checking to prevent loop counter from wrapping around (backport #1766)
4 years ago
Kevin Backhouse 686702616c
Merge pull request #1794 from kevinbackhouse/bmff-check-box-nesting
Enforce BMFF box nesting
4 years ago
Kevin Backhouse 3575a8258e
Merge pull request #1786 from Exiv2/mergify/bp/main/pr-1769
Safer std::vector indexing (backport #1769)
4 years ago
Christoph Hasse 2944af7793 feat: add test for #1782 4 years ago
Christoph Hasse 9aabdcf698 fix: add Sigma 30mm f/1.4 DC DN | C to canon lens detection 4 years ago
Kevin Backhouse 5eb464271e
Fix format specifier. 4 years ago
Kevin Backhouse 43d95b8a75
Fix compiler warnings. 4 years ago
Kevin Backhouse 3019fbee4f
Extra protection against large allocations. 4 years ago
Kevin Backhouse c474277cc6
Merge pull request #1792 from postscript-dev/add_SonyMisc2b_tags
Add SonyMisc2b makernote tags (tag 9404)
4 years ago
Kevin Backhouse 2d5cccd488
Enable fuzzing of bmffimage.cpp 4 years ago
Kevin Backhouse 78e9c8aa82
address + box_length == box_end 4 years ago
Kevin Backhouse 02d4ef2c5e
Support for 64-bit box lengths looked broken. 4 years ago
Kevin Backhouse 8c64e9abba
Add `pbox_end` param to `BmffImage::boxHandler` to enforce box nesting. 4 years ago
Kevin Backhouse adb586ae9a
Regression test for https://github.com/Exiv2/exiv2/issues/1793 4 years ago
Kevin Backhouse 637a765017
Add a test to improve coverage in xmpsidecar.cpp 4 years ago
postscript-dev 2031224490
Add testing for SonyMisc2b 4 years ago
postscript-dev 293fd586ab
Add SonyMisc2b makernote tags (tag 9404)
Changes:
+ Add tags, pretty printing and tag group selector function
+ Update docs

Source: https://exiftool.org/TagNames/Sony.html
4 years ago
postscript-dev b82084995c
Add `getExifValue()` to `makernote_int.cpp`
Function generalizes `getExifModel()`, allowing any value in a tag to
be accessed.
4 years ago
Kevin Backhouse eb2782e685
Fix warning: comparison of integer expressions of different signedness 4 years ago
Kevin Backhouse 67a46f742d
Type of escapeStart should be size_t. 4 years ago
Kevin Backhouse 670dfb2fab
Better fix for potential integer overflow in `bytes.size() - 3`. 4 years ago
Kevin Backhouse 69d82ffe01
Defensive coding changes to avoid integer overflow in loop conditions. 4 years ago
Kevin Backhouse ad5e6c479c
Extra checking to prevent the loop counter from wrapping around. 4 years ago
Kevin Backhouse 2069cdd3c7
Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-hqjh-hpv8-8r9p 4 years ago
Kevin Backhouse dc2c77ce81
Safer std::vector indexing. 4 years ago
Kevin Backhouse 82057a6a1d
Merge pull request #1777 from postscript-dev/update_sony2fp_tags
Update Sony2Fp tags
4 years ago
Kevin Backhouse d5ada325af
Check that `type` isn't an empty string. 4 years ago
Kevin Backhouse 92ddbf011d
Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-v5g7-46xf-h728 4 years ago
postscript-dev 510a38e27d
Move all `startsWith()` funcs to `Util` namespace
The function checks if a string is in the beginning of another. This
is intended for use until the move to C++20 when
`std::basic_string<>::starts_with()` becomes available. Suggested in
https://github.com/Exiv2/exiv2/pull/1777 .

Separate identical definitions have been moved into a single copy.
4 years ago
Kevin Backhouse 6373fe3195
Merge pull request #1780 from Exiv2/mergify/bp/main/pr-1778
Fix infinite loop in Image::printIFDStructure (backport #1778)
4 years ago
Kevin Backhouse 8f126c0664
Merge pull request #1781 from kevinbackhouse/filter_xmpsdk
Ignore results in the xmpsdk directory
4 years ago
Kevin Backhouse 8c80d060f0
Ignore results in the xmpsdk directory. 4 years ago
postscript-dev 0827a76b6a
Update Sony2Fp makernote functions
Minor changes using suggestions in #1777:
+ Simplify loop conditions
+ Add startsWith() in SonyMakerNote class
+ Change `if`/`else` to `switch`
4 years ago
Kevin Backhouse e4e3362284
Defensive programming in Image::printIFDStructure 4 years ago
Kevin Backhouse caf08b229e
dirLength == 0 can cause an infinite loop. 4 years ago
Kevin Backhouse 093dca0281
Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-m479-7frc-gqqg 4 years ago
Kevin Backhouse 0208b508a0
Merge pull request #1773 from kevinbackhouse/fuzz
Add fuzz target
4 years ago
Kevin Backhouse fa52d7e2cb Better way to print the error message. 4 years ago
Kevin Backhouse 6685b8db4a Print message to stderr when EXIV2_DEBUG_MESSAGES is enabled. 4 years ago
Kevin Backhouse f724f4e2fc Don't crash if s > size. 4 years ago
Kevin Backhouse c310e2c41f Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-mv9g-fxh2-m49m 4 years ago
Kevin Backhouse 5d164005d4
Merge pull request #1771 from kevinbackhouse/codeql-unsafe-vector-access
CodeQL query to detect unsafe uses of std::vector::operator[]
4 years ago
Kevin Backhouse 86e7dbd3c1
Merge pull request #1775 from kevinbackhouse/MultToLargerType
Fix code scanning alert: "Multiplication result converted to larger type"
4 years ago
postscript-dev e821404d69
Merge branch 'update_sony2fp_tags' of https://github.com/postscript-dev/exiv2 into update_sony2fp_tags 4 years ago
postscript-dev 4a21b45e60
Update Sony2Fp makernote tag selector function
In C++20, std::string has a starts_with() function. Add a startsWith()
function now, which can be replaced when the project moves to C++20.

Suggested in https://github.com/Exiv2/exiv2/pull/1777
4 years ago
Peter 670c89b2bd
Merge branch 'Exiv2:main' into update_sony2fp_tags 4 years ago