Commit Graph

7692 Commits

Author SHA1 Message Date
Kevin Backhouse
109d5df7ab Check bounds of jpg_img_off and jpg_img_len. (#858) 2019-05-16 15:30:12 +02:00
Kevin Backhouse
1c1436e94e Add bounds check of resourceSize. (#856) 2019-05-16 11:24:18 +02:00
Kevin Backhouse
80cd0d2990 Add bounds check on allocation size. (#854) 2019-05-16 09:36:26 +02:00
Kevin Backhouse
fe538e9438 Check bounds in XMP SDK (#852)
* Check bounds of month and day.

* Add some more bounds checks.

* Fix test failure in clang.
2019-05-16 07:40:47 +02:00
Kevin Backhouse
81ae213c71 Check bounds of allocation size. (#848) 2019-05-15 13:00:41 +02:00
Kevin Backhouse
7798ae2557 Throw an exception if the data location is invalid. (#842) 2019-05-15 11:12:02 +02:00
Kevin Backhouse
8dc87a1214 Add bounds check. (#840) 2019-05-15 08:58:38 +02:00
Kevin Backhouse
43f154f44b Merge two enforces into one. 2019-05-14 17:31:37 +02:00
Kevin Backhouse
d3e69f6d2c Add bounds check on allocation size. 2019-05-14 17:31:37 +02:00
Kevin Backhouse
c0ecc2ae36 Avoid integer overflow. 2019-05-13 22:46:25 +02:00
Robin Mills
f4a37c63f2 version.cpp Pragma removed. Platform includes simplified.
cmake/packaging.cmake        Changed comment about VS version numbers
2019-05-12 16:41:58 +02:00
Robin Mills
e4cfb6cdcf Better formating of section 5-6 and removed <br> from signature at end of document. 2019-05-12 16:41:58 +02:00
Robin Mills
ca61303358 Markdown changes (removing <br> tags) 2019-05-12 16:41:58 +02:00
Robin Mills
b8af098285 Removed redundant _MSC_VER pragma to link psapi as the link is specified in CMakeLists.txt.
Simplified the platform include files required to support getLoadedLibraries()
2019-05-12 16:41:58 +02:00
Robin Mills
955962eaa8 Code revisions after review by @piponazo 2019-05-12 16:41:58 +02:00
Robin Mills
b0a9cb5624 NetBSD/FreeBSD Support 2019-05-12 16:41:58 +02:00
Kevin Backhouse
6a44698abc Small change to comment. 2019-05-12 14:15:21 +02:00
Kevin Backhouse
3c818f49d9 Revert accidental whitespace change. 2019-05-12 14:15:21 +02:00
Kevin Backhouse
3faeaefbf5 Improve portability of bounds checks. 2019-05-12 14:15:21 +02:00
D4N
d20a0a7b57 Update tests/bugfixes/github/test_issue_791.py
Co-Authored-By: kevinbackhouse <kev@semmle.com>
2019-05-12 14:15:21 +02:00
Kevin Backhouse
86816c0280 Fix signed/unsigned mismatch. 2019-05-12 14:15:21 +02:00
Kevin Backhouse
caa4e6745a Avoid negative integer overflow when filesize < io_->tell().
This fixes #791.
2019-05-12 14:15:21 +02:00
clanmills
db870755b9 fix #818. Restore 0.25 behaviour of $ exiv2 -g image ... to apply grep to keys. 2019-05-11 07:35:26 +02:00
clanmills
977a9b38a9 Bump. 2019-05-09 16:20:53 +02:00
Antoni Bella Pérez
2f9b399623 Update Catalan translation
Last updates

(cherry picked from commit 2071e84aeb205295f49c67c9710a22e50f88fe97)
2019-05-07 21:39:02 +02:00
Kevin Backhouse
8cd95e2218 Avoid negative integer overflow when chunkLength == 0.
This fixes #789.
2019-05-06 06:27:10 +02:00
Luis Díaz Más
f05d100579 CURL lib and include directories private for exiv2lib
(cherry picked from commit 5d64a0b11c5a45dd9d58c56e946301f3f98942a7)
2019-05-05 18:34:14 +02:00
Kevin Backhouse
6fa2e31206 Avoid negative integer overflow when iccOffset > chunkLength.
This fixes #790.
2019-05-05 12:21:32 +02:00
Robin Mills
fe3f3248dd Fix in sidecar files #589 2019-05-05 10:03:54 +02:00
Kevin Backhouse
ae20c30805 Avoid null pointer exception due to NULL return value from strchr.
This fixes #793.
2019-05-04 15:45:10 +02:00
Robin Mills
c79af9f5ad fix_814 (#816)
* fix_814

* Adding note about "warnings concerning LIBCMT".

* Update README-CONAN.md

* Apply suggestions from code review

Co-Authored-By: piponazo <piponazo@gmail.com>
2019-05-01 15:55:14 +02:00
Robin Mills
54a3bc139b
Merge pull request #808 from Exiv2/README.md_maintenance
Syncing README.md in '0.27-maintenance' with README.md in 'master'
2019-04-28 13:44:20 +01:00
Luis Díaz Más
d27a2aa927 Status icons pointing to 0.27-maintenance 2019-04-28 12:36:47 +02:00
clanmills
b09d464dbb Syncing README.md in 0.27-maintenance with 'master' 2019-04-28 11:13:06 +01:00
Luis Díaz Más
36580743ec
Merge pull request #799 from Exiv2/fix_798
Fix #798
2019-04-27 13:57:48 +02:00
Robin Mills
78676b2a02 Fix #798 2019-04-27 11:18:22 +01:00
Luis Díaz Más
16df09cc75
Merge pull request #782 from Exiv2/Changes_for_v0.27.1
Changes for v0.27.1
2019-04-25 22:18:55 +02:00
Robin Mills
7a9c928efb Fix to exiv2.1 man page for v0.27.1 2019-04-25 19:41:10 +01:00
Robin Mills
54f567e9ea Changes to README-CONAN.md concerning Visual Studio as discussed with @piponazo in the review. 2019-04-19 11:40:22 +01:00
Robin Mills
d08b645c80 Documentation changes for v0.27.1 2019-04-18 10:03:27 +01:00
Robin Mills
514ae0fa89 Fix #780 2019-04-18 08:33:12 +01:00
Robin Mills
c5b4b4ddd1 Fix for #781 2019-04-18 07:35:17 +01:00
Robin Mills
37c315fc9e Changes for v0.27.1 2019-04-12 11:23:43 +01:00
Luis Díaz Más
51f3910413 [jp2image] Limit data representation to 30 bytes
- fixes #744
2019-04-09 01:09:20 +02:00
Dan Čermák
7be077e3e3 [clang-format] Move .clang-format to .clang-format.optional
This should stop editors/IDEs blindly auto-formatting existing code and thereby
resulting in unreadable diffs.

Signed-off-by: Dan Čermák <dan.cermak@cgc-instruments.com>
(cherry picked from commit d8e062ee709d999375239b3a6eb38cc692b4bc76)
2019-04-08 14:33:30 +02:00
Luis Díaz Más
f33ef06a88
Merge pull request #764 from Exiv2/mergify/bp/0.27-maintenance/pr-753
Automatic backport of pull request #753
2019-04-07 21:47:26 +02:00
D4N
adfc01f2e0 Update tests/bugfixes/github/test_issue_742.py
Co-Authored-By: piponazo <piponazo@gmail.com>
(cherry picked from commit 39d8904696338d5bd4a9c7e9a96a798a791d0973)
2019-04-07 18:06:42 +02:00
Luis Diaz Mas
f33d8daaa0 Add regression test for #742
(cherry picked from commit 885dd2a7437b946c975f2a37c9ccaecc1b91fc95)
2019-04-07 18:06:42 +02:00
Luis Diaz Mas
25ddbaa6c0 Make subBox.length check in jp2image.cpp more robust
(cherry picked from commit a154b992ccad71a7d95a94cdedb933fa66a51b61)
2019-04-07 18:06:42 +02:00
Luis Díaz Más
8c81e1146c clang-format Jp2Image::printStructure()
(cherry picked from commit b6e4ca0a8cfff1ad0f6040901382863cccee33cb)

# Conflicts:
#	src/jp2image.cpp
2019-04-07 18:06:42 +02:00