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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:47:21 UTC 2017


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

The following commit has been merged in the master branch:
commit 012c544704e6edab0a7a08ad00fb6aa16b4eb6f8
Author: Robin Mills <robin at clanmills.com>
Date:   Thu Feb 16 18:23:40 2017 +0000

    #1268 Fix submitted.  Ben and Robin both discovered and fixed this independantly with the same fix!
---
 src/image.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/image.cpp b/src/image.cpp
index cc0d340..f6a8213 100644
--- a/src/image.cpp
+++ b/src/image.cpp
@@ -398,7 +398,7 @@ namespace Exiv2 {
                 }
 
                 // if ( offset > io.size() ) offset = 0; // Denial of service?
-                DataBuf  buf(size*count + pad);  // allocate a buffer
+                DataBuf  buf(size*count + pad+20);  // allocate a buffer
                 std::memcpy(buf.pData_,dir.pData_+8,4);  // copy dir[8:11] into buffer (short strings)
                 if ( count*size > 4 ) {            // read into buffer
                     size_t   restore = io.tell();  // save

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list