Commit Graph

61 Commits

Author SHA1 Message Date
Kevin Backhouse
4bc4757404
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=39555
Remove bogus code.
2021-10-15 21:55:22 +01:00
Kevin Backhouse
bb9ff53ebe
Throw an exception on integer overflow. 2021-09-13 21:43:59 +01:00
Kevin Backhouse
395389aa15
Add more checks to prevent integer overflow. 2021-09-12 22:48:24 +01:00
Kevin Backhouse
4d55cb6692
Comment out bogus code.
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=38189
2021-09-12 14:48:47 +01:00
Kevin Backhouse
ee3b8d1fc2 Fix quadratic complexity performance bug.
(cherry picked from commit c261fbaa2567687eec6a595d3016212fd6ae648d)
2021-05-16 19:45:34 +02:00
Rosen Penev
c15d3b1323 xmpsdk: don't use register
register is gone with C++17.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-04-17 08:32:13 +02:00
clanmills
0eabfc4053 Adding CPP changes 2020-03-29 15:58:03 +01: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
clanmills
c261db2b5f sync changes to ExpatAdapter from master to 0.27 (removes compiler warnings) 2019-01-07 11:47:03 +00:00
Robin Mills
3f21ff2fac Fix: https://github.com/Exiv2/exiv2/issues/570 2018-11-30 14:18:17 +01:00
Luis Diaz Mas
8b68afd4be Remove xmp Makefile. Now it is always handled by CMake 2018-10-30 15:26:23 +01:00
Luis Díaz Más
320e186f44 Fix -Wmaybe-uninitialized warnings 2018-09-12 19:22:31 +02:00
Luis Díaz Más
d55b2b1b65 Remove HAVE_STDLIB_H check and replace stdlib.h by cstdlib 2018-05-04 11:20:43 +02:00
tbeu
5df8b01b77 Remove obsolete svn revision 2017-11-19 11:17:11 +01:00
Robin Mills
6ea3b00b02 #1249 Fixes 2016-10-23 22:25:58 +00:00
Andreas Huggel
fd80993ab0 Updated copyright notice. 2015-05-02 11:55:40 +00:00
Robin Mills
0df8356a56 #1029. Thank You, Thomas for reporting this and providing the patch. 2015-02-12 01:24:26 +00:00
HumanDynamo
7aa65c705d fix error reported by cppcheck 2014-10-04 13:05:25 +00:00
Robin Mills
7023ac7e20 Issue: #940. Fixed compilation warning in MinGW 2013-12-29 05:43:26 +00:00
Robin Mills
cea66bdd78 Issue: #940. Changes to eliminate compiler warnings with GCC 4.8.1.2 on Linux. 2013-12-28 06:03:03 +00:00
Robin Mills
89c796a3ab Issue: #940. Fix compilation warnings. 2013-12-28 03:41:01 +00:00
Andreas Huggel
f09fceda6b Updated copyright year in a few files, version in runner.txt. 2013-12-01 12:13:42 +00:00
Andreas Huggel
0d397b95c7 Updated copyright message for 2012. 2012-03-22 15:19:35 +00:00
Andreas Huggel
f89d2821fe Fixed g++ 4.6.1 (Debian) compiler warnings. 2011-10-19 08:32:15 +00:00
Andreas Huggel
7770151915 Updated Copyright message for 2011. 2011-02-13 14:08:44 +00:00
Andreas Huggel
9195470f22 Allow "migration" of XMP namespaces. Simplified XMP-SDK RegisterNamespace(). 2010-11-06 13:53:15 +00:00
HumanDynamo
bb51bdad0e fix 2 warnings generated by GCC 4.x under linux into Adobe XMP SDK:
[ 20%] Building CXX object src/CMakeFiles/exiv2.dir/__/xmpsdk/src/XMPMeta.cpp.o                                               
/home/gilles/Documents/Devel/SVN/trunk/exiv2/xmpsdk/src/XMPMeta.cpp: In function 'XMP_Status DumpClearString(const XMP_VarString&, XMP_Status (*)(void*, const char*, XMP_StringLen), void*)':
/home/gilles/Documents/Devel/SVN/trunk/exiv2/xmpsdk/src/XMPMeta.cpp:117: warning: comparison is always false due to limited range of data type
/home/gilles/Documents/Devel/SVN/trunk/exiv2/xmpsdk/src/XMPMeta.cpp:127: warning: comparison is always true due to limited range of data type
2010-07-22 08:27:05 +00:00
Andreas Huggel
2ac4164777 #709: Fixed typo. (Dimitri Schoolwerth) 2010-06-13 14:21:05 +00:00
HumanDynamo
81fdde2e0b Fix typo 2010-04-13 19:10:55 +00:00
HumanDynamo
874119dedf remove mingw warnings under win32 2010-04-12 10:40:57 +00:00
HumanDynamo
0325f5c005 remove MSVC pragma warnings under mingw 2010-04-12 10:37:20 +00:00
HumanDynamo
611d5711c5 remove MSVC pragma warnings under mingw 2010-04-12 10:35:17 +00:00
Andreas Huggel
6d496a4888 Updated Copyright notice for 2010. 2010-04-03 07:53:30 +00:00
Andreas Huggel
9efecb6f26 Removed second and third(!) stdio.h include. 2009-12-27 15:30:07 +00:00
Andreas Huggel
933c36b4e8 Minor change to make XMP-SDK compile on MinGW with gcc-4.4 2009-12-27 15:02:34 +00:00
Andreas Huggel
0163a4d72f Fixed compiler warning (i686-apple-darwin9-g++-4.0.1). 2009-11-28 14:09:28 +00:00
Andreas Huggel
3c9c0eda35 #653: Merged c1920 from branches/unstable. 2009-11-15 13:55:19 +00:00
Andreas Huggel
00f05f032f #600: Upgrading XMP-Toolkit to version 4.4; Additional changes. (COMPILES ON LINUX BUT COMPLETELY UNTESTED) 2009-07-07 14:20:26 +00:00
Andreas Huggel
4359702117 #600: Upgrading XMP-Toolkit to version 4.4; re-applied the changes done previously. (STILL DOESN'T COMPILE) 2009-07-07 14:13:03 +00:00
Andreas Huggel
73aa0f4fda #600: Upgrading XMP-Toolkit to version 4.4; original source files from XMP-Toolkit-SDK-4.4.2.zip. (DOESN'T COMPILE) 2009-07-07 14:08:52 +00:00
Andreas Huggel
8a6d9dbc42 Updated Copyright notice for 2009. 2009-02-16 14:30:51 +00:00
Andreas Huggel
5ffbab1713 Added missing #includes for g++ 4.4 (Debian bug 505023, patch from Martin Michlmayr). 2008-11-13 12:28:20 +00:00
Andreas Huggel
d866b20d82 #567: Fixing MSVC build, intermediate revision, it is still broken. 2008-09-06 06:02:15 +00:00
Andreas Huggel
3c77461e51 #566: Replaced MD5 implementation with one that is in the public domain. 2008-07-25 14:43:18 +00:00
Andreas Huggel
21c20e5ae0 Fixed wrong assumption for ISO 8601 timestamp without time zone. 2008-06-05 15:43:51 +00:00
Andreas Huggel
d9db53d7bc Moved MD5.h into the xmpsdk/include/ directory. 2008-05-20 04:19:00 +00:00
Andreas Huggel
576d53e34f Fixed compiler warnings (amd64) 2008-05-13 09:28:28 +00:00
Andreas Huggel
81ff0d6a7c Fixed g++-4.3 errors and warnings. 2008-04-04 15:50:11 +00:00
Andreas Huggel
3ac665a305 Added 2008 to Copyright notice. 2008-01-09 16:44:09 +00:00
Andreas Huggel
bcdadf963d Minor doc fix 2007-12-25 06:31:29 +00:00