Commit 12d248d5 authored by Hans Petter Jansson's avatar Hans Petter Jansson Committed by Hans Petter

If we get a NULL exifdata, don't try to dereference it. Fixes BGO #530851.

2008-05-03  Hans Petter Jansson  <hpj@novell.com>

	* src/nautilus-image-properties-page.c (append_exifdata_string):
	If we get a NULL exifdata, don't try to dereference it. Fixes
	BGO #530851.

svn path=/trunk/; revision=14129
parent b2b0b4ba
2008-05-03 Hans Petter Jansson <hpj@novell.com>
* src/nautilus-image-properties-page.c (append_exifdata_string):
If we get a NULL exifdata, don't try to dereference it. Fixes
BGO #530851.
2008-05-03 Christian Neumair <cneumair@gnome.org>
* src/nautilus-file-management-properties.glade:
......
......@@ -228,7 +228,7 @@ append_tag_value_pair (GString *string,
static void
append_exifdata_string (ExifData *exifdata, GString *string)
{
if (exifdata->ifd[0] && exifdata->ifd[0]->count) {
if (exifdata && exifdata->ifd[0] && exifdata->ifd[0]->count) {
append_tag_value_pair (string, exifdata, EXIF_TAG_MAKE, _("Camera Brand"));
append_tag_value_pair (string, exifdata, EXIF_TAG_MODEL, _("Camera Model"));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment