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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:45:03 UTC 2017


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

The following commit has been merged in the master branch:
commit a2edf47056d433e30d9577942352c85afdb38a07
Author: tbeu <mail at tbeu.de>
Date:   Fri Apr 10 19:47:04 2015 +0000

    refs 1038: Fix eof detection in MemIo::getb and avoid crash on truncated jpeg files (Vitaliy Filippov)
---
 src/basicio.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/basicio.cpp b/src/basicio.cpp
index ca99e13..59ee55f 100644
--- a/src/basicio.cpp
+++ b/src/basicio.cpp
@@ -1347,7 +1347,7 @@ namespace Exiv2 {
 
     int MemIo::getb()
     {
-        if (p_->idx_ == p_->size_) {
+        if (p_->idx_ >= p_->size_) {
             p_->eof_ = true;
             return EOF;
         }

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list