[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:47:14 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=021bf5c
The following commit has been merged in the master branch:
commit 021bf5c23732150f6fd00def4a1e6421aebecd4c
Author: Robin Mills <robin at clanmills.com>
Date: Fri Oct 21 17:44:19 2016 +0000
#1247 Thank You Hanno for reporting this and providing a patch.
---
src/image.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/image.cpp b/src/image.cpp
index b1f881b..9422828 100644
--- a/src/image.cpp
+++ b/src/image.cpp
@@ -614,6 +614,7 @@ namespace Exiv2 {
void Image::setIccProfile(Exiv2::DataBuf& iccProfile,bool bTestValid)
{
if ( bTestValid ) {
+ if ( iccProfile.pData_ && ( iccProfile.size_ < sizeof(long)) ) throw Error(53);
long size = iccProfile.pData_ ? getULong(iccProfile.pData_, bigEndian): -1;
if ( size!= iccProfile.size_ ) throw Error(53);
}
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list