Commit 2c867e1d authored by Bastien Nocera's avatar Bastien Nocera Committed by Bastien Nocera

Fix possible crasher when looking for the feedURL in itms files (Closes:

2009-02-10  Bastien Nocera  <hadess@hadess.net>

	* plparse/totem-pl-parser-podcast.c
	(totem_pl_parser_parse_itms_doc): Fix possible crasher
	when looking for the feedURL in itms files (Closes: #570997)


svn path=/branches/gnome-2-24/; revision=299
parent 96b2bba3
2009-02-10 Bastien Nocera <hadess@hadess.net>
* plparse/totem-pl-parser-podcast.c
(totem_pl_parser_parse_itms_doc): Fix possible crasher
when looking for the feedURL in itms files (Closes: #570997)
2009-02-08 Jonathan Matthew <jonathan@d14n.org>
* plparse/totem-pl-parser-pla.c: (totem_pl_parser_write_pla),
......
......@@ -618,7 +618,8 @@ totem_pl_parser_parse_itms_doc (xml_node_t *item)
/* What we're looking for looks like:
* <key>feedURL</key><string>URL</string> */
if (g_ascii_strcasecmp (item->name, "key") == 0
&& g_ascii_strcasecmp (item->data, "feedURL") == 0) {
&& g_ascii_strcasecmp (item->data, "feedURL") == 0
&& item->next != NULL) {
item = item->next;
if (g_ascii_strcasecmp (item->name, "string") == 0)
return item->data;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment