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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:43:37 UTC 2017


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

The following commit has been merged in the master branch:
commit 09d7aeb8d14f576140382365b36242c2c697ddf1
Author: Robin Mills <robin at clanmills.com>
Date:   Wed Feb 20 05:30:14 2013 +0000

    Issue: #883. Fix for Coverity Scan Issue:982064
---
 src/tiffvisitor.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tiffvisitor.cpp b/src/tiffvisitor.cpp
index 8bc6d44..b3e95e3 100644
--- a/src/tiffvisitor.cpp
+++ b/src/tiffvisitor.cpp
@@ -1164,9 +1164,9 @@ namespace Exiv2 {
     void TiffReader::changeState(TiffRwState::AutoPtr state)
     {
         if (state.get() != 0) {
-            if (pOrigState_ != pState_) delete pState_;
             // invalidByteOrder indicates 'no change'
             if (state->byteOrder_ == invalidByteOrder) state->byteOrder_ = pState_->byteOrder_;
+            if (pOrigState_ != pState_) delete pState_;
             pState_ = state.release();
         }
     }

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list