On Sat, Jan 13, 2007 at 06:45:36PM +0100, Andreas Henriksson wrote: > reassign 405801 libid3tag0 > tags 405801 + patch > thanks > > --- libid3tag-0.15.1b/compat.c 2004-02-17 03:34:39.000000000 +0100 > +++ libid3tag-0.15.1b.fixed/compat.c 2007-01-13 18:32:52.000000000 +0100 > @@ -442,6 +442,8 @@ int id3_compat_fixup(struct id3_tag *tag > > encoding = id3_parse_uint(&data, 1); > string = id3_parse_string(&data, end - data, encoding, 0); > + if (string == NULL) > + goto fail; > > if (id3_ucs4_length(string) < 4) { > free(string);
I've used continue instead of goto fail, so that the other valid tags still get returned. I've just uploaded the fixed version. Kurt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]