Fix NULL pointer dereference on malformed Playlist XML.
This commit is contained in:
@@ -181,6 +181,7 @@ AudioPlaylistImporter::_prepare_move ()
|
||||
XMLProperty* p = xml_playlist.property ("name");
|
||||
if (!p) {
|
||||
error << _("badly-formed XML in imported playlist") << endmsg;
|
||||
return false;
|
||||
}
|
||||
|
||||
p->set_value (name);
|
||||
|
||||
Reference in New Issue
Block a user