Commit 89c2aa13 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>
(cherry picked from commit 8ceecb11)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent b247a3a6
......@@ -65,6 +65,8 @@ bool DOMParser::parse ()
return false;
this->root = this->processNode();
if ( this->root == NULL )
return false;
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