projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6a2a9d
)
fixed segfault in exif parser
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 14 Feb 2010 22:00:23 +0000
(22:00 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Sun, 14 Feb 2010 22:00:23 +0000
(22:00 +0000)
http://sourceforge.net/tracker/index.php?func=detail&aid=
2950617
&group_id=222125&atid=
1054682
src/exif.c
patch
|
blob
|
history
diff --git
a/src/exif.c
b/src/exif.c
index
fd7ac93
..
b88ad3c
100644
(file)
--- a/
src/exif.c
+++ b/
src/exif.c
@@
-1458,6
+1458,7
@@
gchar *exif_item_get_data_as_text(ExifItem *item)
gint exif_item_get_integer(ExifItem *item, gint *value)
{
if (!item) return FALSE;
+ if (!item->elements) return FALSE;
switch (item->format)
{