tags 282555 + patch
thanks

On Tue, Nov 23, 2004 at 12:27:41AM +0000, Matthew Exley wrote:
>On all images from all sources, I consistently get a segfault when using
>the -m output format for exif. Use of -d shows that the next tag that's
>supposed to get interpreted is the MakerNote, 0x927c, tag. 

A broken declaration in show_entry_machine() causes this segfault:

--- exif-0.6.9.orig/exif/actions.c      2004-05-26 07:52:57.000000000 +1000
+++ exif-0.6.9/actions.c        2005-01-29 19:17:34.000000000 +1100
@@ -164,7 +164,7 @@
 show_entry_machine (ExifEntry *e, void *data)
 {
        unsigned char *ids = data;
-       char *v[1024];
+       char v[1024];
 
        if (*ids) fprintf (stdout, "0x%04x", e->tag);
        else fprintf (stdout, "%s", exif_tag_get_title (e->tag));

--bod



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to