Skip to content

Commit

Permalink
fixed segfault in exif parser
Browse files Browse the repository at this point in the history
  • Loading branch information
nadvornik committed Feb 14, 2010
1 parent b6a2a9d commit 4261dfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/exif.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 4261dfa

Please sign in to comment.