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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:41:49 UTC 2017


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

The following commit has been merged in the master branch:
commit 6fc96993a1a6b795565d7f45315fcfdcd8df71b8
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Thu Jul 22 02:34:55 2010 +0000

    #711: Quickfix for Exif.OlympusIp.0x1104 which points to the beginning of the image. With this change the value is truncated now, i.e., it's size is set to 0.
---
 src/tiffvisitor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tiffvisitor.cpp b/src/tiffvisitor.cpp
index f100b5c..94c71b4 100644
--- a/src/tiffvisitor.cpp
+++ b/src/tiffvisitor.cpp
@@ -1502,7 +1502,7 @@ namespace Exiv2 {
         byte* pData = p;
         if (   size > 4
             && (   baseOffset() + offset >= size_
-                || static_cast<int32_t>(baseOffset()) + offset < 0)) {
+                || static_cast<int32_t>(baseOffset()) + offset <= 0)) {
 #ifndef SUPPRESS_WARNINGS
                 std::cerr << "Error: Offset of "
                           << "directory " << tiffGroupName(object->group())

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list