Mercurial > audlegacy-plugins
changeset 2308:c9200f019176
- Handle invalid states in ICY-Metadata parser
author | Ralf Ertzinger <ralf@skytale.net> |
---|---|
date | Sun, 13 Jan 2008 17:59:57 +0100 |
parents | 1606353a9fcb |
children | 8d4db9a04cd2 11b4a4e15f63 |
files | src/neon/neon.c |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/neon/neon.c Sun Jan 13 17:57:08 2008 +0100 +++ b/src/neon/neon.c Sun Jan 13 17:59:57 2008 +0100 @@ -301,6 +301,13 @@ value[0] = '\0'; } break; + default: + /* + * This should not happen + */ + _ERROR("Invalid state while parsing metadata, metadata may be corrupted: %d", state); + _LEAVE; + break; } p++; pos++;