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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:39:07 UTC 2017


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

The following commit has been merged in the master branch:
commit 4b95b20db887a9a05749c7f9fc28f0904a6eca92
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Fri Dec 14 17:03:26 2007 +0000

    #534: Prevent integer overflow.
---
 src/jpgimage.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/jpgimage.cpp b/src/jpgimage.cpp
index 5e296d4..382acca 100644
--- a/src/jpgimage.cpp
+++ b/src/jpgimage.cpp
@@ -489,7 +489,7 @@ namespace Exiv2 {
                 io_->seek(16 - bufRead, BasicIo::cur);
                 psData.alloc(size - 16);
                 // Load PS data now to allow reinsertion at any point
-                io_->read(psData.pData_, psData.size_);
+                io_->read(psData.pData_, size - 16);
                 if (io_->error() || io_->eof()) throw Error(20);
             }
             else if (marker == com_ && skipCom == -1) {

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list