Mageia Bugzilla – Attachment 9755 Details for
Bug 21158
gwenview crashes since it was rebuild against latest libexiv
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Patch fixes exiv2 segfault on images from pentax cameras
exiv2-0.26-pentax-segfault.patch (text/plain), 595 bytes, created by
Mike Rambo
on 2017-10-25 13:11:37 CEST
(
hide
)
Description:
Patch fixes exiv2 segfault on images from pentax cameras
Filename:
MIME Type:
Creator:
Mike Rambo
Created:
2017-10-25 13:11:37 CEST
Size:
595 bytes
patch
obsolete
>http://dev.exiv2.org/issues/1305 >Index: exiv2-0.26/src/pentaxmn.cpp >=================================================================== >--- exiv2-0.26/src/pentaxmn.cpp >+++ exiv2-0.26/src/pentaxmn.cpp 2017-10-24 11:34:45.756609611 -0400 >@@ -1167,6 +1167,8 @@ > > std::ostream& PentaxMakerNote::printShutterCount(std::ostream& os, const Value& value, const ExifData* metadata) > { >+ if ( ! metadata ) return os << "undefined" ; >+ > ExifData::const_iterator dateIt = metadata->findKey( > ExifKey("Exif.PentaxDng.Date")); > if (dateIt == metadata->end()) {
http://dev.exiv2.org/issues/1305 Index: exiv2-0.26/src/pentaxmn.cpp =================================================================== --- exiv2-0.26/src/pentaxmn.cpp +++ exiv2-0.26/src/pentaxmn.cpp 2017-10-24 11:34:45.756609611 -0400 @@ -1167,6 +1167,8 @@ std::ostream& PentaxMakerNote::printShutterCount(std::ostream& os, const Value& value, const ExifData* metadata) { + if ( ! metadata ) return os << "undefined" ; + ExifData::const_iterator dateIt = metadata->findKey( ExifKey("Exif.PentaxDng.Date")); if (dateIt == metadata->end()) {
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 21158
:
9643
| 9755