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

Maximiliano Curia maxy at moszumanska.debian.org
Thu Jul 13 17:44:53 UTC 2017


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

The following commit has been merged in the master branch:
commit e4244d9e0902da93b6e8b67721bd507d72fb48b0
Author: Robin Mills <robin at clanmills.com>
Date:   Tue Feb 17 23:49:03 2015 +0000

    #1033.  Crash when opening .webm file.
---
 src/matroskavideo.cpp | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/matroskavideo.cpp b/src/matroskavideo.cpp
index 78d335c..4b3ab3a 100644
--- a/src/matroskavideo.cpp
+++ b/src/matroskavideo.cpp
@@ -531,6 +531,10 @@ namespace Exiv2 {
         if (sz > 0) io_->read(buf + 1, sz - 1);
 
         const MatroskaTags* mt = find(matroskaTags, returnTagValue(buf, sz));
+        if ( !mt ) {
+            continueTraversing_ = false;
+            return;
+        }
 
         if(mt->val_ == 0xc53bb6b || mt->val_ == 0xf43b675) {
             continueTraversing_ = false;

-- 
exiv2 packaging



More information about the pkg-kde-commits mailing list