Commit Graph

7333 Commits

Author SHA1 Message Date
Luis Díaz Más
db4ece70cc gtest - remove wrapper which is not needed anymore 2021-04-23 14:53:08 +02:00
Luis Díaz Más
f601d23d5e conan: update conan recipe versions 2021-04-23 14:53:08 +02:00
Kevin Backhouse
c372f2677d Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-8949-hhfh-j7rj 2021-04-22 21:14:50 +02:00
Kevin Backhouse
b3de96f4b4 Add more bounds checks in Jp2Image::encodeJp2Header 2021-04-22 21:14:50 +02:00
Luis Díaz Más
e366c786b9 Fix -Werror=shadow warning after recovering EPS 2021-04-22 20:24:59 +02:00
Luis Díaz Más
e53da674d9 ci: add again arch linux & disable compilation&run of unit tests 2021-04-22 18:40:03 +02:00
Luis Díaz Más
9eae9014b1 ci: trying to fix centos:8 build 2021-04-22 18:40:03 +02:00
Luis Díaz Más
7d8cd00778 fix tests expectations for alpine linux 2021-04-22 18:40:03 +02:00
Luis Díaz Más
3dbe445fbf ci: alpine linux support 2021-04-22 18:40:03 +02:00
Luis Díaz Más
6c5c2278cb ci: warnings_as_errors OFF 2021-04-22 18:40:03 +02:00
Luis Díaz Más
c33c6abc82 Remove useless explicit constructor 2021-04-22 18:40:03 +02:00
Luis Díaz Más
f77607ee8a ci: fix issues on Github actions 2021-04-22 18:40:03 +02:00
Luis Díaz Más
1cac0c3963 Do not treat warnings as errors 2021-04-22 18:40:03 +02:00
Luis Díaz Más
9b9154d137 fix warning (hiding local variable) 2021-04-22 18:40:03 +02:00
Luis Díaz Más
c480be5814 cmake: disable -Wuseless-cast 2021-04-22 18:40:03 +02:00
Luis Díaz Más
390f5ee49d ci: fix installation of gtest on ubuntu 20.04 2021-04-22 18:40:03 +02:00
Luis Díaz Más
0e19de936d ci: update github actions
- Disable arch case which is suffering of a weird situation in which
CMake when trying to find GTest, it is failing with some error related
with GMock (which we do not use or install!)
- Updated ubuntu image to 20.04
- Use same CMake flags as we use on Travis
2021-04-22 18:40:03 +02:00
Kevin Backhouse
8e38b37fcb Add windows_distribution_check GitHub Action. 2021-04-22 18:40:03 +02:00
D4N
9a4eb0c624 Add linux_distribution_check github action 2021-04-22 18:40:03 +02:00
Luis Díaz Más
d5240a4bda eps: Fix code after usage of unique_ptr. Remove deprecation tags 2021-04-22 18:39:31 +02:00
Luis Díaz Más
e8181a2bec Revert "Remove EPS tests"
This reverts commit 6d7d85a1ec988287ec2362e6c6b267860cab89e2.
2021-04-22 18:39:31 +02:00
Luis Díaz Más
ed6cbf77b4 Revert "eps - do not install header"
This reverts commit 8f16196ad3.
2021-04-22 18:39:31 +02:00
Luis Díaz Más
8314030604 Revert "Remove deprecated EPS format"
This reverts commit 537cdad99e.
2021-04-22 18:39:31 +02:00
Kevin Backhouse
8388223deb Check that the string is properly terminated. 2021-04-22 11:38:49 +02:00
Kevin Backhouse
e8422732af Fix LGTM warning about format specifier
https://lgtm.com/projects/g/Exiv2/exiv2/rev/pr-6633ad1cc6e6c36bffd6655165c299c53e934b22
2021-04-22 11:38:49 +02:00
Kevin Backhouse
e97a9ff88a Fix signed/unsigned compiler warning. 2021-04-22 11:38:49 +02:00
Kevin Backhouse
27e349e063 Fix signed/unsigned compiler warning. 2021-04-22 11:38:49 +02:00
Kevin Backhouse
9cba1e475a Stop the test from failing when EXIV2_ENABLE_BMFF=Off. 2021-04-22 11:38:49 +02:00
Kevin Backhouse
285e7a4e72 Fix out-of-bounds read in bmffimage.cpp 2021-04-22 11:38:49 +02:00
Kevin Backhouse
386e464e1f Regression test for https://github.com/Exiv2/exiv2/issues/1570. 2021-04-22 11:38:49 +02:00
Kevin Backhouse
783b3a6ff1 Improve bound checking in WebPImage::doWriteMetadata() 2021-04-20 21:43:56 +02:00
Kevin Backhouse
dbde0bc536 Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-5p8g-9xf3-gfrr 2021-04-20 21:43:56 +02:00
Kevin Backhouse
23c1cda99d Fix signed/unsigned compiler warnings. 2021-04-20 21:19:51 +02:00
Kevin Backhouse
f930883919 Better bounds checking in Jp2Image::encodeJp2Header() 2021-04-20 21:19:51 +02:00
Kevin Backhouse
e1686ebc38 Regression test for https://github.com/Exiv2/exiv2/security/advisories/GHSA-jgm9-5fw5-pw9p 2021-04-20 21:19:51 +02:00
Luis Díaz Más
f9cf51ca49 Doc: Fix links in README.md and remove them from the conan one 2021-04-19 10:43:46 +02:00
Luis Díaz Más
f85f7f717a Replace many of the iterators types with auto 2021-04-19 10:43:46 +02:00
Luis Díaz Más
75e4bd9059 Remove rest of useless typedefs from datasets.hpp 2021-04-19 10:43:46 +02:00
Luis Díaz Más
01a3bc716d Fix warnings in VS 2021-04-19 10:43:46 +02:00
Luis Díaz Más
75bf666d3b Remove typedef to Dictionary::const_iterator 2021-04-19 10:43:46 +02:00
Luis Díaz Más
9b2e46ce6c Doc: Update links in main so that the CI badges point to the proper branches 2021-04-18 20:38:39 +02:00
Luis Díaz Más
0a1bf46a1c revert changes that are affecting to VS 2021-04-18 18:49:58 +02:00
Luis Díaz Más
de4d43d4d1 Fix warnings EXIV2_TEAM_EXTRA_WARNINGS
Most of the warnings fixed were:
- Hiding of local variables
- Hiding of globals
- Useless casts
- Conversions between float/double
2021-04-18 18:49:58 +02:00
Luis Díaz Más
6c0059b5a0 cmake: Treat xmpsdk headers as system ones
This is done so that when we use EXIV2_TEAM_EXTRA_WARNINGS we do not get
warnings about XMPSDK (we do not want to deal with those)
2021-04-18 18:49:58 +02:00
Luis Díaz Más
83dda6ccd7 Fix warnings related to -Wdeprecated-copy 2021-04-18 18:49:58 +02:00
Robin Mills
04c4c84852
Merge pull request #1560 from Exiv2/main-ReenableSanitizersBuild
Main reenable sanitizers build
2021-04-18 09:39:18 +01:00
Robin Mills
9870367783 GitLab/Fedora/MinGW Disable EXIV2_TEAM_WARNINGS_AS_ERRORS. 2021-04-18 09:50:53 +02:00
Robin Mills
5d38569534 Don't build with C++98 on Cygwin jobs 2021-04-18 09:49:59 +02:00
Robin Mills
3682bce15e Fix Ubuntu 20.04/Release/Sanitizer test breaker 2021-04-18 09:46:47 +02:00
Robin Mills
d73dd0874d Fix icc_test which is failing on Linux:
luis@ryzenLinux:/media/linuxDev/programming/exiv2/buildReleaseSanitizers$ cp large.icc Reagan2.icc
luis@ryzenLinux:/media/linuxDev/programming/exiv2/buildReleaseSanitizers$ bin/exiv2 -iC /tmp/Reagan2.jp2
/media/linuxDev/programming/exiv2/src/jp2image.cpp:661:28: runtime error: reference binding to misaligned address 0x61f000002a9e for type 'const struct Jp2BoxHeader', which requires 4 byte alignment
0x61f000002a9e: note: pointer points here
 07 07 01 00 00 00  0c 53 63 6f 6c 72 02 00  00 00 00 0c 48 4c 69 6e  6f 02 10 00 00 6d 6e 74  72 52
2021-04-18 09:46:47 +02:00