* libexif/olympus/mnote-olympus-entry.c: Correct the usage of
strncat. Fix pointed out by Serge Droz <serge.droz@psi.ch>.
2004-06-22 Lutz Mueller <lutz@users.sourceforge.net>
+ * libexif/olympus/mnote-olympus-entry.c: Correct the usage of
+ strncat. Fix pointed out by Serge Droz <serge.droz@psi.ch>.
+
+2004-06-22 Lutz Mueller <lutz@users.sourceforge.net>
+
* libexif/olympus/mnote-olympus-tag.[c,h]: New tags discovered by
Serge Droz <serge.droz@psi.ch>.
char *
mnote_olympus_entry_get_value (MnoteOlympusEntry *entry, char *v, unsigned int maxlen)
{
- char buf[32];
+ char buf[300];
ExifLong vl;
ExifShort vs = 0;
ExifRational vr;
entry->size);
for (i = 0; i < entry->size; i++) {
sprintf (buf, " %02x", entry->data[i]);
- strncat (v, buf, maxlen - strlen (v));
+ strncat (v, buf, maxlen);
}
break;
}