[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:46:28 UTC 2017


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=973dbc9

The following commit has been merged in the master branch:
commit 973dbc98479510e7bb74c7cf6bba243b2446eb5f
Author: Robin Mills <robin at clanmills.com>
Date:   Wed May 4 19:14:24 2016 +0000

    Fixing clang warning in tiffvisitor.cpp
---
 src/tiffvisitor.cpp | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/tiffvisitor.cpp b/src/tiffvisitor.cpp
index e77552e..14c61d2 100644
--- a/src/tiffvisitor.cpp
+++ b/src/tiffvisitor.cpp
@@ -1345,8 +1345,7 @@ namespace Exiv2 {
             if (object->group() == ifd1Id) maxi = 1;
             for (uint32_t i = 0; i < object->count(); ++i) {
                 uint32_t offset = getLong(object->pData() + 4*i, byteOrder());
-                if (   baseOffset() + offset > size_
-                    || static_cast<int32_t>(baseOffset()) + offset < 0) {
+                if (   baseOffset() + offset > size_ ) {
 #ifndef SUPPRESS_WARNINGS
                     EXV_ERROR << "Directory " << groupName(object->group())
                               << ", entry 0x" << std::setw(4)

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list