https://bugs.kde.org/show_bug.cgi?id=441121

Lukáš Karas <lukas.ka...@centrum.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lukas.ka...@centrum.cz

--- Comment #23 from Lukáš Karas <lukas.ka...@centrum.cz> ---
Created attachment 144593
  --> https://bugs.kde.org/attachment.cgi?id=144593&action=edit
sample image that is causing the crash

Here is jpg file that is causing the the crash. It is clear that libexiv is
throwing exception when it tries to parse date. This exception is not catched
in gwenview. 

$ exiv2 -P X print  test.jpg 
Xmp.tiff.Software                            XmpText    13  digiKam-7.1.0
Xmp.tiff.DateTime                            XmpText    19  2014-09-13T14:36:40
Xmp.tiff.ImageWidth                          XmpText     4  3110
Xmp.tiff.ImageLength                         XmpText     4  1553
Xmp.xmp.CreatorTool                          XmpText    13  digiKam-3.5.0
Xmp.xmp.CreateDate                           XmpText    19  2014-09-13T14:36:40
Xmp.xmp.MetadataDate                         XmpText    19  2014-09-13T14:36:40
Xmp.xmp.ModifyDate                           XmpText    19  2014-09-13T14:36:40
Xmp.xmp.Rating                               XmpText     1  2
Xmp.exif.DateTimeOriginal                    XmpText    19  Uncaught exception:
basic_string::at: __n (which is 19) >= this->size() (which is 19)

$ echo $?
1

So, fix is obvious. But where it should be fixed? In libexiv or gwenview? 

Ubuntu 21.10
exiv2 0.27.3
gwenview 21.08.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to