mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 08:53:08 +01:00
Fix NULL pointer dereference on malformed Playlist XML.
This commit is contained in:
parent
afd67800b9
commit
fed4e8446b
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue