From 51630cbac1dcb04345fb1384812f1576f0ea29db Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 15 Jan 2010 01:26:57 +0000 Subject: outright reject any tags which need a special parser in the wps playlist viewer. There is no intention of even trying to support them and without this possible upcoming changes will cause crashes if any of those tags are used. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24229 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/skin_engine/skin_parser.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 435a3a1f3f..9157ffaa3c 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -779,7 +779,12 @@ static int parse_playlistview_text(struct playlistviewer *viewer, taglen = i; } else - { + { + if (tag->parse_func) + { + /* unsupported tag, reject */ + return -1; + } taglen = strlen(tag->name); viewer->lines[line].tokens[viewer->lines[line].count++] = tag->type; } -- cgit v1.2.3