summaryrefslogtreecommitdiff
path: root/sysutils/nautilus/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/nautilus/patches/patch-aj')
-rw-r--r--sysutils/nautilus/patches/patch-aj14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/nautilus/patches/patch-aj b/sysutils/nautilus/patches/patch-aj
new file mode 100644
index 00000000000..9f4c0500e98
--- /dev/null
+++ b/sysutils/nautilus/patches/patch-aj
@@ -0,0 +1,14 @@
+$NetBSD: patch-aj,v 1.1 2004/10/27 19:33:37 drochner Exp $
+
+--- components/image_properties/nautilus-image-properties-view.c.orig 2004-10-11 20:22:21.000000000 +0200
++++ components/image_properties/nautilus-image-properties-view.c
+@@ -130,7 +130,8 @@ exif_content_callback (ExifContent *cont
+ return;
+ }
+
+- attribute->value = g_strdup (exif_content_get_value (content, attribute->tag));
++ char value[1024];
++ attribute->value = g_strdup (exif_content_get_value (content, attribute->tag, value, sizeof(value)));
+ if (attribute->value != NULL) {
+ attribute->found = TRUE;
+ }