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
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
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
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
78676b2a02
Fix #798
2019-04-27 11:18:22 +01:00
Robin Mills
7a9c928efb
Fix to exiv2.1 man page for v0.27.1
2019-04-25 19:41:10 +01:00
Robin Mills
514ae0fa89
Fix #780
2019-04-18 08:33:12 +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
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
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
Luis Díaz Más
051b5d9df1
Fix #742 by detecting incorrect subBox size
...
(cherry picked from commit 1bdd3eab5ebdde324dbfecc3fb6d6495b32d2e4d)
2019-04-07 18:06:42 +02:00
Dan Čermák
5e6c2855ce
[NikonMakerNote] Fix overread in Nikon1MakerNote::print0x0088
...
This function was printing the string from the array of strings nikonFocusArea,
but it wasn't verifying that the array index is actually valid.
Now this function will output "Invalid value" instead of crashing.
2019-03-25 23:52:47 +01:00
clanmills
282e99b6b0
Fix #610
...
(cherry picked from commit 54367e18ed0bf8bae6d8449341a6f82779f6d3c7)
2019-03-03 08:44:20 +01:00
Luis Díaz Más
9296067b95
Fix access to null pointer in TiffParser
2019-02-19 23:26:30 +01:00
Luis Díaz Más
4265ac5e0f
exiv2-xmp linked privately
2019-02-10 22:01:52 +01:00
Seth Parker
892d39e3bf
Add missing libintl include dirs to exiv2lib_int and exiv2
2019-02-07 23:15:26 +01:00
Michał Walenciak
6887822243
removing unused header generation
2019-02-02 09:53:05 +01:00
Michał Walenciak
a7340a3801
removinf usage of EXIV2_DEPRECATED macro
...
It can expand to [[deprecated]] which cannot be combined
with result of EXIV2API macro expansion: __attribute__(...)
2019-02-02 09:52:39 +01:00
Michał Walenciak
aae88060ca
Use ${CMAKE_INSTALL_LIBDIR} as proper files location
2019-01-29 21:09:13 +01:00
Michał Walenciak
4ddd44e9da
create & install exiv2ConfigVersion.cmake
2019-01-29 20:03:30 +01:00
Luis Diaz Mas
127c2eac0e
Fix warnings on MSVC
2019-01-25 08:12:59 +01:00
Luis Díaz Más
704fc56d52
Keep the profileName from readMetadata and use it in writeMetadata
2019-01-24 23:16:25 +01:00
Luis Díaz Más
e385599067
Refactoring to make the doe more readable. Fix icc tests
2019-01-24 22:30:30 +01:00
Luis Díaz Más
436b0f87b5
Add missing header when -DDEBUG is present
2019-01-24 21:28:49 +01:00
Luis Díaz Más
d1097fab59
Factor our function to read PNG Chunk info
2019-01-24 21:21:47 +01:00
Luis Díaz Más
914a8c5585
Factor out exception throw in different places inside isPngType
2019-01-24 18:52:38 +01:00
Luis Diaz Mas
88f22e13cb
Fix ICC profile in PNG images
2019-01-21 23:10:12 +01:00
Luis Diaz Mas
6abdb7e77a
Install new file exiv2lib_compiler_detection.h
2019-01-18 15:29:35 +01:00
Luis Diaz Mas
9d62998973
cmake: compile video sources conditionally
2019-01-15 12:58:06 +01:00
Luis Díaz Más
798396e71a
cmake: use CONAN_PKG::OpenSSL only if NOT APPLE
2019-01-12 23:18:54 +01:00
Luis Díaz Más
08478c3217
Fix SSL linking issues on Windows
2019-01-12 23:16:26 +01:00
Luis Díaz Más
4fa2bc7008
Propagate CURL linkage when it is enabled
2019-01-12 23:13:24 +01:00