libid3tag segfaults when rendering a V1 tag with a TCON
frame with zero strings (ie,
fields[1]->stringlist.nstrings == 0). The attached
patch fixes my problem.
Here is also the backtrace:
#0 0x40029dda in id3_ucs4_getnumber (ucs4=0x0) at
ucs4.c:221
221 number = 10 * number + (*ucs4++ - '0');
(gdb) ba
#0 0x40029dda in id3_ucs4_getnumber (ucs4=0x0) at
ucs4.c:221
#1 0x4002eabf in v1_render (tag=0x8058ec8,
buffer=0xbffff08b "") at tag.c:671
#2 0x4002eb62 in id3_tag_render (tag=0x8058ec8,
buffer=0xbffff00c "TAGIn The Beginning", ' '
<repeats 14 times>, "Mike Oldfield", ' ' <repeats 17
times>, "The Songs Of Distant Earth", ' ' <repeats 36
times>) at tag.c:699
/martin hedenfalk
Patch to libid3tag
Logged In: YES
user_id=42487
This should be fixed in 0.15.0b.