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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:40:24 UTC 2017


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

The following commit has been merged in the master branch:
commit f827d8a380e38abd502ccf75cbe4587f0bf6bf2a
Author: Andreas Huggel <ahuggel at gmx.net>
Date:   Thu Mar 12 09:15:09 2009 +0000

    #619: Check for empty buffer. Fixes crash with some PNG images. (Lukasz Krzyzak)
---
 src/pngchunk.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/pngchunk.cpp b/src/pngchunk.cpp
index acefc88..1992fbd 100644
--- a/src/pngchunk.cpp
+++ b/src/pngchunk.cpp
@@ -619,6 +619,9 @@ namespace Exiv2 {
                                             0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,0,0,0,
                                             0,0,0,0,0,0,0,0,0,0, 0,0,0,0,0,0,0,10,11,12,
                                             13,14,15};
+        if (text.size_ == 0) {
+            return DataBuf();
+        }
 
         sp = (char*)text.pData_+1;
 

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list