Mercurial > audlegacy-plugins
diff src/madplug/input.c @ 699:14f80d61e855 trunk
[svn] - TCON frame without string crashes mad_parse_genre().
| author | yaz |
|---|---|
| date | Tue, 20 Feb 2007 18:12:05 -0800 |
| parents | c787612e29ff |
| children | 07fa51808275 |
line wrap: on
line diff
--- a/src/madplug/input.c Tue Feb 20 13:50:17 2007 -0800 +++ b/src/madplug/input.c Tue Feb 20 18:12:05 2007 -0800 @@ -167,6 +167,9 @@ size_t string_len = 0; gboolean is_num = TRUE; + if(!string) + return NULL; + string_len = mad_ucs4len((id3_ucs4_t *)string); tail = (id3_ucs4_t *)string + string_len;
