mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
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
This commit is contained in:
parent
b2b0b4bae3
commit
12d248d565
|
@ -1,3 +1,9 @@
|
|||
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"));
|
||||
|
||||
|
|
Loading…
Reference in a new issue