[Digikam-devel] [Bug 167139] crash if Exif.GPSInfo.GPSAltitude is empty

Marcel Wiesweg marcel.wiesweg at gmx.de
Mon Jul 21 17:38:39 BST 2008


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=167139         




------- Additional Comments From marcel.wiesweg gmx de  2008-07-21 18:38 -------
In getGPSLatitudeNumber we check for count() of the Exifdatum. The docs of toRational(int n) says the behavior is undefined if there is no n-th component.
Question is if in this case count() is 0, if this is a valid situation with the Exiv2 API (maybe with broken files, but thats not the point), and if we should always check for count()



More information about the Digikam-devel mailing list