# HG changeset patch # User yaz # Date 1150213016 25200 # Node ID 03414b9d250754b4c107e221fbba40cd4b63cf46 # Parent 62726fb1cb3becec7903a31d8671f42b78f49c91 [svn] filesize must be cached, otherwise lookup loop will crash. diff -r 62726fb1cb3b -r 03414b9d2507 ChangeLog --- a/ChangeLog Tue Jun 13 01:59:28 2006 -0700 +++ b/ChangeLog Tue Jun 13 08:36:56 2006 -0700 @@ -1,3 +1,13 @@ +2006-06-13 08:59:28 +0000 William Pitcock + revision [1294] + - fix potential crashing on malformed ID3v2 tags + + + Changes: Modified: + +4 -0 trunk/Plugins/General/scrobbler/tags/id3v2.c + +6 -0 trunk/Plugins/General/scrobbler/tags/unicode.c + + 2006-06-12 10:25:29 +0000 Tony Vroon revision [1292] Updated japanese translation by dai, closes bug #384. diff -r 62726fb1cb3b -r 03414b9d2507 audacious/util.c --- a/audacious/util.c Tue Jun 13 01:59:28 2006 -0700 +++ b/audacious/util.c Tue Jun 13 08:36:56 2006 -0700 @@ -403,7 +403,8 @@ static gchar *open_buffer = NULL; gchar *ret_buffer = NULL; gint found_section = 0, len = 0; - gsize filesize, off = 0; + static gsize filesize = 0; + gsize off = 0; gchar *outbuf; unsigned char x[] = { 0xff, 0xfe, 0x00 }; guint counter;