Kevin Backhouse
9ff72e5ca5
Make offset=0 the default parameter.
4 years ago
Kevin Backhouse
aec6733df9
Add unit test for methods like DataBuf::read_uint32 and DataBuf::write_uint32.
4 years ago
Kevin Backhouse
61a14c45d1
Fix build failure.
4 years ago
Kevin Backhouse
e41f0c2cce
Fix build failure on Windows.
4 years ago
Kevin Backhouse
c9d0cf3643
Make fields of DataBuf private.
4 years ago
Kevin Backhouse
cb16324bcf
Merge pull request #1882 from kevinbackhouse/FixIssue1881
...
Throw an error if the size of the preview is greater than 1MB
4 years ago
Kevin Backhouse
ccfdcf84ea
Merge pull request #1824 from 1div0/JPEG XL
...
Corrected JPEG XL file type
4 years ago
Kevin Backhouse
67746dee73
Merge pull request #1874 from neheb/emp
...
remove most usages of std::make_pair
4 years ago
Kevin Backhouse
0a02b3f81a
Merge pull request #1883 from kevinbackhouse/XMLValidatorBuild
...
Only build XMLValidator when XMP is enabled.
4 years ago
Kevin Backhouse
ddd1c47f8b
Add second test file for better code coverage.
4 years ago
Kevin Backhouse
ce02361a64
Only build XMLValidator when XMP is enabled.
4 years ago
Kevin Backhouse
60144df557
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37492
...
Throw an error if the size of the preview is greater than 1MB.
4 years ago
Kevin Backhouse
218ad98f22
Regression test for https://github.com/Exiv2/exiv2/issues/1881
4 years ago
Kevin Backhouse
f9248f9fde
Merge pull request #1878 from kevinbackhouse/XMLValidator
...
Add some XML validation to avoid xmpsdk bugs
4 years ago
Kevin Backhouse
5703dbc6a4
Add test to improve code coverage.
4 years ago
Kevin Backhouse
b35cc5ffa6
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=37363
...
Do some basic XML validation before running the xmpsdk library to avoid bugs in xmpsdk.
4 years ago
Kevin Backhouse
c9f253f0e5
Merge pull request #1876 from kevinbackhouse/OSS-Fuzz-integration
...
Add OSS-Fuzz status badge and CIFuzz integration
4 years ago
Rosen Penev
e7eddfc2f5
use more emplace_back
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Rosen Penev
f3fcffd6e6
remove most usages of std::make_pair
...
Better alternatives exist with C++11.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
4 years ago
Kevin Backhouse
5bfa568b63
Add OSS-Fuzz status badge and CIFuzz integration.
4 years ago
Kevin Backhouse
079f130196
Merge pull request #1875 from kevinbackhouse/OSS-Fuzz
...
Add special build mode for OSS-Fuzz
4 years ago
Kevin Backhouse
cee9015ff8
Add special build mode for OSS-Fuzz.
4 years ago
Miloš Komarčević
af0954ca0c
Update test for image/jxl
4 years ago
Kevin Backhouse
f8bfad1551
Merge pull request #1869 from kevinbackhouse/Decouple-Fuzzer-Flags
...
Decouple EXIV2_BUILD_FUZZ_TESTS from EXIV2_TEAM_USE_SANITIZERS.
4 years ago
Kevin Backhouse
64fe77673f
Decouple EXIV2_BUILD_FUZZ_TESTS from EXIV2_TEAM_USE_SANITIZERS.
4 years ago
Kevin Backhouse
ced25a5d56
Merge pull request #1565 from Exiv2/fix_1516_include_path
...
fix_1516_include_path
4 years ago
Christoph Hasse
dcb65d91ec
workaround for softprops/action-gh-release#139
4 years ago
Kevin Backhouse
ee3016c240
Merge pull request #1813 from kevinbackhouse/FuzzWithASAN
...
Add sanitizer flags when fuzzing
4 years ago
Kevin Backhouse
89abcad124
Add LSAN suppressions.
4 years ago
Kevin Backhouse
b6f9a3747f
Add sanitizer flags when fuzzing.
4 years ago
Kevin Backhouse
4bcccaab67
Merge pull request #1853 from Exiv2/mergify/bp/main/pr-1850
...
Add test for issue 1821 (backport #1850 )
4 years ago
Kevin Backhouse
3c65c842db
Merge pull request #1857 from kevinbackhouse/FixBuildAppleM1
...
Fix compiler warning on Apple/M1/Clang
4 years ago
Kevin Backhouse
e667346582
Fix for https://github.com/Exiv2/exiv2/issues/1856
4 years ago
Robin Mills
c82c4d0420
fix_1516_include_path
4 years ago
Kevin Backhouse
a1b65a7928
Merge pull request #1849 from Exiv2/mergify/bp/main/pr-1848
...
Replace assertion with an error message (backport #1848 )
4 years ago
Kevin Backhouse
e5bcc640bc
Test for https://github.com/Exiv2/exiv2/issues/1821
...
(cherry picked from commit d54e3e5ea54bf0420378ed86f846fede622532da)
4 years ago
Kevin Backhouse
0dc5cdd910
Merge pull request #1852 from Exiv2/mergify/bp/main/pr-1846
...
Replace assertion with error message in TiffDirectory::writeDirEntry() (backport #1846 )
4 years ago
Kevin Backhouse
330483a859
Merge pull request #1843 from Exiv2/mergify/bp/main/pr-1840
...
Check that the float is within the range of an int before casting (backport #1840 )
4 years ago
Kevin Backhouse
9fd8b40a4e
Replace assertion with an error message.
...
(cherry picked from commit cb32b809c80163c2392543dfb830dffe44e47f91)
4 years ago
Kevin Backhouse
23dfda54be
Regression test for https://github.com/Exiv2/exiv2/issues/1845
...
(cherry picked from commit f8c71359a6fd0fb23823454e931b9739013d293a)
4 years ago
mergify[bot]
66259b1c71
Check if embedded RAF image is really a TIFF (backport #1796 ) ( #1851 )
...
* Check if embedded RAF image is really a TIFF
(cherry picked from commit be12ae6f9e2f053bf101902865deadfe7c937f8d)
* Clarify comment on old vs new RAF
Co-authored-by: Christoph Hasse <hassec@users.noreply.github.com>
(cherry picked from commit 30f39ac98c1671547aa0b4021081e374864f1f04)
* Check I/O read result on RAF inspection
Co-authored-by: Kevin Backhouse <kevinbackhouse@github.com>
(cherry picked from commit 09de8dc901a38555151bd87d89ada3bd931451ea)
* Add test
(cherry picked from commit 9c3db7f3c3cb48fe0669061e627174402f366816)
Co-authored-by: Miloš Komarčević <miloskomarcevic@aim.com>
Co-authored-by: Miloš Komarčević <4973094+kmilos@users.noreply.github.com>
4 years ago
Kevin Backhouse
9e160a453b
Replace assertion with an error message.
4 years ago
Peter Kovář
1d095cf751
Removed tag handled separately
4 years ago
Kevin Backhouse
cca3e0766d
Merge pull request #1844 from Exiv2/mergify/bp/main/pr-1842
...
Use DataBuf rather than raw malloc in WebPImage::decodeChunks (backport #1842 )
4 years ago
Kevin Backhouse
5bc444ff00
Use DataBuf rather than raw malloc.
4 years ago
Kevin Backhouse
3ec4460c7e
Regression test for https://github.com/Exiv2/exiv2/issues/1841
4 years ago
Kevin Backhouse
7c2ab1d7de
Check that the float is within the range of an int before casting.
4 years ago
Kevin Backhouse
bda9471c1b
Regression test for https://github.com/Exiv2/exiv2/issues/1838
4 years ago
Kevin Backhouse
726510f3b0
Merge pull request #1837 from Exiv2/mergify/bp/main/pr-1831
...
Safer casting from double to long in value.hpp (backport #1831 )
4 years ago
Christoph Hasse
0fab606e90
fix: incorrectly triggered enforce check during preview extraction in LoaderTiff::getData(), closes #1829
4 years ago