Commit 8ceecb11 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen Committed by Jean-Baptiste Kempf

dash: Don't crash when XML parsing fails.

Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 5457d477
...@@ -65,6 +65,8 @@ bool DOMParser::parse () ...@@ -65,6 +65,8 @@ bool DOMParser::parse ()
return false; return false;
this->root = this->processNode(); this->root = this->processNode();
if ( this->root == NULL )
return false;
return true; return true;
} }
......
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