Rosen Penev
ae66ecec0d
clang-tidy: use nullptr
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
49bf7e1387
clang-tidy: use delete
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
e654b2931c
clang-tidy: replace throw() with noexcept
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
1f05448d0e
clang-tidy: default member init
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
0d971e98e4
remove some unique_ptrs
...
They're not really used as pointers.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más
053f516072
Merge pull request #2198 from neheb/3
...
some clang-tidy
3 years ago
Rosen Penev
89b8d4ea4e
try to actually fix null pointer deref
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
25ef5d7e77
replace ret variable with return statement
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
7bc9861301
clang-tidy: use strcmmp properly
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
7a826ac529
clang-tidy: add parentheses to macros
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
cacb54eaba
use auto
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
fdfcde5e4b
structured binding conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Diaz
bd0eefdab7
ci: Try to fix job which is killed due to low memory?
3 years ago
Luis Díaz Más
235bf522b2
Merge pull request #2181 from Exiv2/main_issue2179
...
[main] Fix integer overflow #2179
3 years ago
Luis Diaz
a505d6f06c
More unit tests for Photoshop methods
3 years ago
Luis Diaz
8ab7800477
Remove 2nd param from Photoshop::isIrb() since it is always hardcoded
3 years ago
Luis Diaz
7366a64d44
Add unit tests for Photoshop::isIrb().
...
It has been detected that we need to always pass the size==4 in the call
to isIrb. Probably it is better to remove that parameter and document
that it is assumed for the buffer to have a length of 4 bytes.
3 years ago
Luis Diaz
a698c3fc08
Remove deprecated variable
3 years ago
Luis Diaz
459c73c0f6
doxygen: update doc style in Photoshop class
3 years ago
Luis Díaz Más
e715243aa5
Fix integer overflow #2179
3 years ago
Luis Díaz Más
6e9eca445a
Merge pull request #2177 from neheb/1
...
clang-tidy and manual stuff
3 years ago
Luis Díaz Más
04e5f282f9
Link fuzz app against std::filesystem libraries
3 years ago
Luis Díaz Más
3f496bd264
Merge pull request #2191 from Exiv2/main_fix2190
...
Detect integer-overflow and throw in that case
3 years ago
Luis Díaz Más
3795e5318b
Add POC file
3 years ago
Luis Díaz Más
bd68c14de5
Detect integer-overflow and throw in that case
3 years ago
Luis Díaz Más
3ee193f12f
Merge pull request #2187 from Exiv2/mainReleasesIPO
...
Produce releases with Interprocedural optimisations (LTO)
3 years ago
Rosen Penev
262d0ee4b3
struct to std::pair conversions
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
e82be13b73
C to std::function
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
e9896d1f99
clang-tidy: fix inconsistent decleration
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
d190baac6c
clang-tidy: do not use using namespace
...
Found with google-build-using-namespace
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
8810b0b630
clang-tidy: no else after return
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
c35fb7104b
clang-tidy: use any_of
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
3298fcf656
some chrono
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
b25e75dd7b
replace Sleep with sleep_for
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
dfb93dd8cd
clang-tidy: use C++ headers
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
aa41d557b2
function move
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
06d977d7bc
clang-tidy: use default
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
9f67620503
clang-tidy: add more nodiscard
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Rosen Penev
b72e4b0e44
clang-tidy: use auto
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Luis Díaz Más
83a4fd5081
cmake: exiv2-xmp is now an OBJECT library
3 years ago
Luis Díaz Más
0e523b6a29
ci: Use interprocedural optimization (LTO) in releases
3 years ago
Luis Díaz Más
c0c9155af3
ci: split command in several lines
3 years ago
Luis Díaz Más
b8cb4e096f
Merge pull request #2180 from Exiv2/main_issue2178
...
Fix out of bounds read in isValidBoxFileType()
3 years ago
Luis Díaz Más
c6340caca7
Remove exiv2json sample and tests depending on it
3 years ago
Kevin Backhouse
74622cf494
Add poc for fuzzing coverage.
3 years ago
Luis Díaz Más
d16ca65b01
Fix out of bounds read in isValidBoxFileType()
3 years ago
Luis Díaz Más
3b9fcb4b3d
Update .clang-format to align pointers to the types
3 years ago
Luis Díaz Más
790fc465f4
Merge pull request #2172 from Exiv2/mergify/bp/main/pr-2167
...
Initial support for OM System MakerNote (backport #2167 )
3 years ago
Rosen Penev
fafe999c6e
remove unused var from deleted stuff
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
3 years ago
Miloš Komarčević
44c3aab2dc
Add OM System MakerNote test
...
(manually adapted from 18e2b9a6bb305854bfe05d0275425ad3699ea757)
3 years ago