Hi,

have a look at the attached patch. It solves the crashes of gwenview
and konqueror induced by the latest security update 0.10-1.5 to exiv2
(Bug #462450).

It would be nice if you could apply it to the package in etch to make
gwenview and konqueror's image view usable again in etch.

thanks,

Daniel

-- 
-----------------------------------------------------------------
Daniel Hermann,      Institut fuer Theoretische Festkoerperphysik
Universitaet Karlsruhe                  Tel: ++49 (0)721 608-7328
Postfach 6980                           Fax: ++49 (0)721 608-7779
76128 Karlsruhe, Germany      email: [EMAIL PROTECTED]
-----------------------------------------------------------------
--- exiv2-0.10.orig/src/jpgimage.cpp
+++ exiv2-0.10/src/jpgimage.cpp
@@ -298,7 +298,12 @@
                 DataBuf rawExif(sizeExifData);
                 io_->read(rawExif.pData_, sizeExifData);
                 if (io_->error() || io_->eof()) throw Error(14);
-                if (exifData_.load(rawExif.pData_, sizeExifData)) throw Error(36, "Exif");
+                if (exifData_.load(rawExif.pData_, rawExif.size_)) {
+#ifndef SUPPRESS_WARNINGS
+                    std::cerr << "Warning: Failed to decode Exif metadata.\n";
+#endif
+                    exifData_.clear();
+                }
                 --search;
             }
             else if (marker == app13_ && memcmp(buf.pData_ + 2, Photoshop::ps3Id_, 14) == 0) {
_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-kde-extras

Reply via email to