Commit Graph

7671 Commits

Author SHA1 Message Date
Christoph Hasse
c1586a72b3 dont do codecov for samples and tests 2021-07-30 16:09:56 +02:00
postscript-dev
2b13148906 Update the date in the man page 2021-07-30 15:59:52 +02:00
postscript-dev
caa0aa4a1d Add SonySInfo1 testing
SonySInfo1 is currently supported by all Sony cameras so does not need
to test for unsupported models.
2021-07-30 15:59:52 +02:00
postscript-dev
0144209ed0 Add SonySInfo1 makernote tags (tag 3000)
Add all tags, except the face detection sub-groups and related
bookkeeping values.

Source: Exiftool (https://exiftool.org/TagNames/Sony.html)
2021-07-30 15:59:52 +02:00
Christoph Hasse
08975e3dfc refactor: small cleanup of test infra to avoid duplicate runs 2021-07-30 14:25:50 +02:00
Christoph Hasse
4323965c0a Update codecov badge in readme to show results of main branch 2021-07-29 18:09:33 +02:00
Kevin Backhouse
2488fc82e9
Merge pull request #1804 from kevinbackhouse/FuzzMore
Add fuzzing dictionary and test all printStructure() options
2021-07-28 22:40:24 +01:00
Christoph Hasse
0f0885b0d6 test: add new test for lens 2021-07-28 23:08:14 +02:00
Christoph Hasse
e086c7cbd2 add Canon EF 100-400 2x, and make size of aperture lens matching delta dependent on teleconverter factor 2021-07-28 23:08:14 +02:00
Christoph Hasse
f4a85d9888 update man page to reflect what is done in code 2021-07-28 13:05:36 +02:00
Christoph Hasse
7d2f2d2526 make the ifdef in getExiv2ConfigPath a bit more minimal 2021-07-28 13:05:36 +02:00
Christoph Hasse
95c2c26747 Fixes for Max and Win 2021-07-28 13:05:36 +02:00
Christoph Hasse
aa86646f27 adapt man pages to reflect new config file path behaviour 2021-07-28 13:05:36 +02:00
Christoph Hasse
9d7b14d849 adapt test to make use of config file search in cwd 2021-07-28 13:05:36 +02:00
Christoph Hasse
6d5407e851 first search cwd for config file then check home dir 2021-07-28 13:05:36 +02:00
Christoph Hasse
a93788a449 add test of config file based lens name determination 2021-07-28 13:05:36 +02:00
Christoph Hasse
6fd6c8b3dd fix: SIGSEGV on parsing of config file. (introduced in main by clang-tidy fix) 2021-07-28 13:05:36 +02:00
Kevin Backhouse
22b876d278
Merge pull request #1800 from postscript-dev/add_SonyMisc3c_tags
Add SonyMisc3c makernote tags (tag 9400)
2021-07-28 12:00:42 +01:00
Kevin Backhouse
db1529aecc
Remove redundant call to exifData(). 2021-07-28 11:35:20 +01:00
Kevin Backhouse
593fcbd865
Add fuzzing dictionary and test all printStructure() options 2021-07-27 22:51:13 +01:00
postscript-dev
a82b6ceea5
Update last modified date in manpage 2021-07-27 09:20:32 +01:00
Kevin Backhouse
c486999845
Merge pull request #1799 from Exiv2/mergify/bp/main/pr-1790
bufRead needs to be adjusted after seek() (backport #1790)
2021-07-26 21:44:28 +01:00
Kevin Backhouse
35a2b25d64
Fix build error when EXIV2_DEBUG_MESSAGES is enabled. 2021-07-26 13:12:29 +01:00
Kevin Backhouse
2532f6db40
Add markerHasLength utility function. 2021-07-26 12:48:33 +01:00
Kevin Backhouse
96b85751ee
Add comment to explain bounds-check. 2021-07-26 12:04:59 +01:00
Kevin Backhouse
ce39438371
poc from GHSA-9jh3-fcc3-g6hv can now be parsed without error. 2021-07-26 12:04:58 +01:00
Kevin Backhouse
10bd09871f
Update src/jpgimage.cpp
Co-authored-by: Christoph Hasse <hassec@users.noreply.github.com>
2021-07-26 12:04:58 +01:00
Kevin Backhouse
fed192dc97
Fix compiler warning. 2021-07-26 12:04:58 +01:00
Kevin Backhouse
483a1497a0
Improved handling of jpg segments to avoid out-of-bound reads. 2021-07-26 12:04:54 +01:00
postscript-dev
f392e63241
Add testing for SonyMisc3c makernote tags (tag 9400)
EXV files are extracted from Exiftool Sony Image samples:
https://exiftool.org/sample_images.html
2021-07-26 11:28:05 +01:00
Kevin Backhouse
deb41bd117
bufRead needs to be adjusted after seek() 2021-07-26 10:59:14 +01:00
Kevin Backhouse
16dc5f73a5
Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-mvc4-g5pv-4qqq 2021-07-26 10:59:13 +01:00
postscript-dev
cc9d780534
Add SonyMisc3c makernote tags (tag 9400)
Changes:
+ Add tags. Rename Exiftool `SequenceLength` tags to `SequenceLength1`
  and `SequenceLength2`, to prevent a name clash.
+ Update docs and manpage.

Source: [Exiftool](https://exiftool.org)
2021-07-26 10:40:54 +01:00
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)
2021-07-25 22:08:52 +01:00
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)
2021-07-25 22:07:47 +01:00
Kevin Backhouse
3892634771 Skip unittest because -pR is disabled in release builds so the test fails.
(cherry picked from commit f3be36dfb6aac28a12cf179f4d615789bd72ad55)
2021-07-25 20:34:35 +00:00
Kevin Backhouse
c3239e3187 &bytes[0] will crash if bytes has zero elements.
(cherry picked from commit 3e72d129e53b14e0b62d74aefed6bbd326562d63)
2021-07-25 20:34:35 +00:00
Kevin Backhouse
e492285d3a Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-g44w-q3vm-gwjq
(cherry picked from commit 756f28197d39c4d2230f2e02ff214cbfd1cd032e)
2021-07-25 20:34:34 +00:00
Kevin Backhouse
9004fb5a97 Remove redundant check.
(cherry picked from commit 19026fab2bc2b6dee2150f38153feb65a41cea17)
2021-07-25 20:31:59 +00:00
Kevin Backhouse
07225c05ee Make sure that read is complete to prevent infinite loop.
(cherry picked from commit ffe5eb517dad93845e62144d8e53f52b17420ecd)
2021-07-25 20:31:59 +00:00
Kevin Backhouse
bc0f4f5bd0 Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-9jh3-fcc3-g6hv
(cherry picked from commit 61cb1a1ca15282bee76c33eb9abdb416ac366471)
2021-07-25 20:31:58 +00:00
Christoph Hasse
7251a96da6 remove exv_grep_keys_t type alias 2021-07-25 20:58:06 +02:00
Christoph Hasse
2ca56ecbd0 refactor: remove leftover empty if statement 2021-07-25 20:58:06 +02:00
Christoph Hasse
d6c82b88bc refactor: avoid unused variable warning of regex_error 2021-07-25 20:58:06 +02:00
Christoph Hasse
66e8d1a884 refactor: update readme to reflect regex changes 2021-07-25 20:58:06 +02:00
Christoph Hasse
687b38a130 refactor: use POSIX regex syntax as that is what was used before 2021-07-25 20:58:06 +02:00
Christoph Hasse
d82980b563 refactor: replace old linux regex.h with regex from STL. 2021-07-25 20:58:06 +02:00
Christoph Hasse
969ffcc439 refactor: remove regex related cmake stuff 2021-07-25 20:58:06 +02:00
Christoph Hasse
d152c0c13c refactor: remove FindRegex.cmake 2021-07-25 20:58:06 +02:00
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)
2021-07-25 19:53:52 +01:00