Kevin Backhouse
cee9015ff8
Add special build mode for OSS-Fuzz.
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
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
Kevin Backhouse
4674fae4ef
Safer casting from double to long.
...
(cherry picked from commit 372e28c41044a9e8b65d7d7093e028e30a7c8c8a)
4 years ago
Kevin Backhouse
e7d43b94a3
Regression test for https://github.com/Exiv2/exiv2/issues/1830
...
(cherry picked from commit 8b844c2dceab3ffd9bf423ffc4672bda5ee7cc8d)
4 years ago
Kevin Backhouse
47de70bbd7
Merge pull request #1836 from Exiv2/mergify/bp/main/pr-1834
...
Replace assertion with an error message (backport #1834 )
4 years ago
Kevin Backhouse
e34e150f22
Replace assertion with an error message.
...
(cherry picked from commit 4ec1768415ba015041a9bb28ab17c1ccf6a8c63e)
4 years ago
Kevin Backhouse
d3e311fa62
Merge pull request #1832 from Exiv2/mergify/bp/main/pr-1828
...
Check value is in range before casting from double to uint32_t (backport #1828 )
4 years ago
Kevin Backhouse
ed1db4ace2
Use std::round for rounding to nearest.
4 years ago
Kevin Backhouse
8d5e70379e
Update src/tags_int.cpp
...
Co-authored-by: Christoph Hasse <hassec@users.noreply.github.com>
(cherry picked from commit ad2e7221b498258bd04188b66f6da5cefd101e73)
4 years ago
Kevin Backhouse
52d70c8924
Check value is in range before casting from double to uint32_t, to avoid undefined behavior.
...
(cherry picked from commit 1455cc88466a14d8ea49935005e9de097984f012)
4 years ago
Kevin Backhouse
65d9f62efe
Regression test for https://github.com/Exiv2/exiv2/issues/1827
...
(cherry picked from commit db527f446f33a7717205a6afba60f669d17ecf7f)
4 years ago
Kevin Backhouse
0e7d80fc84
Merge pull request #1826 from Exiv2/mergify/bp/main/pr-1820
...
Check that the string isn't empty (backport #1820 )
4 years ago
Kevin Backhouse
db25089c6f
Merge pull request #1823 from Exiv2/mergify/bp/main/pr-1818
...
Fix memory leak in pngimage.cpp (backport #1818 )
4 years ago
Kevin Backhouse
34aa899513
Merge pull request #1825 from Exiv2/mergify/bp/main/pr-1814
...
jp2image.cpp: check size before allocation to avoid out-of-memory errors (backport #1814 )
4 years ago
Kevin Backhouse
644aaaac92
Check that the string isn't empty
4 years ago
Kevin Backhouse
15d99996bd
Regression test for https://github.com/Exiv2/exiv2/issues/1819
4 years ago
Kevin Backhouse
ffde235336
Add comment to explain the bounds-check.
4 years ago
Kevin Backhouse
67e2ef5ccd
Check size before allocation to avoid out-of-memory errors.
4 years ago
Kevin Backhouse
3278270cbe
Regression test for https://github.com/Exiv2/exiv2/issues/1812
4 years ago
Kevin Backhouse
0eacac6b6b
Merge pull request #1822 from Exiv2/mergify/bp/main/pr-1816
...
Add bounds-check to prevent out-of-bounds read in memcmp (backport #1816 )
4 years ago
Kevin Backhouse
c641116b25
Add static_cast to fix build error on Windows.
4 years ago
Kevin Backhouse
b8ed3867c0
Use DataBuf, rather than new[], for automatic delete when an exception is throw.
4 years ago
Kevin Backhouse
38a7733b0b
Regression test for https://github.com/Exiv2/exiv2/issues/1817
4 years ago
Kevin Backhouse
dd4659ce2d
Add bounds-check to prevent out-of-bounds read in memcmp.
...
(cherry picked from commit a6253799d4e3727e32e6412798dceca4200efdda)
4 years ago
Kevin Backhouse
ed82e63ea0
Regression test for https://github.com/Exiv2/exiv2/issues/1815
...
(cherry picked from commit 6e83bddd3a41bd4d23127138e464d8a90c092744)
4 years ago