7642 Commits (fed192dc97d34940fa166803b531e78fbd2904cc)
 

Author SHA1 Message Date
Kevin Backhouse fed192dc97
Fix compiler warning. 4 years ago
Kevin Backhouse 483a1497a0
Improved handling of jpg segments to avoid out-of-bound reads. 4 years ago
Kevin Backhouse deb41bd117
bufRead needs to be adjusted after seek() 4 years ago
Kevin Backhouse 16dc5f73a5
Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-mvc4-g5pv-4qqq 4 years ago
Kevin Backhouse 01b109e8ff
Merge pull request #1798 from Exiv2/mergify/bp/main/pr-1789
&bytes[0] (std::vector) will crash if bytes has zero elements (backport #1789)
4 years ago
Kevin Backhouse 81bf649540
Merge pull request #1797 from Exiv2/mergify/bp/main/pr-1788
Make sure that read is complete to prevent infinite loop (backport #1788)
4 years ago
Kevin Backhouse 3892634771 Skip unittest because -pR is disabled in release builds so the test fails.
(cherry picked from commit f3be36dfb6aac28a12cf179f4d615789bd72ad55)
4 years ago
Kevin Backhouse c3239e3187 &bytes[0] will crash if bytes has zero elements.
(cherry picked from commit 3e72d129e53b14e0b62d74aefed6bbd326562d63)
4 years ago
Kevin Backhouse e492285d3a Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-g44w-q3vm-gwjq
(cherry picked from commit 756f28197d39c4d2230f2e02ff214cbfd1cd032e)
4 years ago
Kevin Backhouse 9004fb5a97 Remove redundant check.
(cherry picked from commit 19026fab2bc2b6dee2150f38153feb65a41cea17)
4 years ago
Kevin Backhouse 07225c05ee Make sure that read is complete to prevent infinite loop.
(cherry picked from commit ffe5eb517dad93845e62144d8e53f52b17420ecd)
4 years ago
Kevin Backhouse bc0f4f5bd0 Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-9jh3-fcc3-g6hv
(cherry picked from commit 61cb1a1ca15282bee76c33eb9abdb416ac366471)
4 years ago
Christoph Hasse 7251a96da6 remove exv_grep_keys_t type alias 4 years ago
Christoph Hasse 2ca56ecbd0 refactor: remove leftover empty if statement 4 years ago
Christoph Hasse d6c82b88bc refactor: avoid unused variable warning of regex_error 4 years ago
Christoph Hasse 66e8d1a884 refactor: update readme to reflect regex changes 4 years ago
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