After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 595503 - [patch] Prevent crash on bad exif info
[patch] Prevent crash on bad exif info
Status: RESOLVED FIXED
Product: f-spot
Classification: Other
Component: Metadata
GIT
Other Linux
: Normal normal
: 0.6.0
Assigned To: F-spot maintainers
F-spot maintainers
Depends on:
Blocks:
 
 
Reported: 2009-09-17 19:39 UTC by Karl Mikaelsson
Modified: 2009-09-25 08:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Attached patch fixes viewing of images with bad exif exposure info. (1.55 KB, patch)
2009-09-17 19:39 UTC, Karl Mikaelsson
none Details | Review

Description Karl Mikaelsson 2009-09-17 19:39:28 UTC
Created attachment 143398 [details] [review]
Attached patch fixes viewing of images with bad exif exposure info.

I had a git master version of gimp that produced odd exif data, which in turn
made F-spot crash in viewing mode, when trying to format the bad data for
display.
I've had this patch in a private branch, rebased from master now and then, and
it works well.
Comment 1 Karl Mikaelsson 2009-09-17 19:52:31 UTC
Looks like this could be a quick and dirty fix for bug 591301 as well, even if it's not a perfect solution.
Comment 2 Stephane Delcroix 2009-09-25 08:01:11 UTC
commit ff42393bcb3053c689c0793c2ed16403802d40f0
Author: Karl Mikaelsson <derfian@lysator.liu.se>
Commit: Stephane Delcroix <stephane@delcroix.org>

    Prevent crash on broken EXIF exposure data.
    
    Fixes bgo #595503