mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed possibility of XXE injection in FeedReader plugin.
This commit is contained in:
parent
748147f73b
commit
0ff634935b
@ -182,7 +182,7 @@ bool XMLWrapper::readXML(const char *xml)
|
||||
cleanup();
|
||||
|
||||
handleError(true, mLastErrorString);
|
||||
mDocument = xmlReadDoc(BAD_CAST xml, "", NULL, /*XML_PARSE_NOERROR | XML_PARSE_NOWARNING | */XML_PARSE_COMPACT | XML_PARSE_NOENT | XML_PARSE_NOCDATA);
|
||||
mDocument = xmlReadDoc(BAD_CAST xml, "", NULL, /*XML_PARSE_NOERROR | XML_PARSE_NOWARNING | */XML_PARSE_COMPACT | XML_PARSE_NOCDATA);
|
||||
handleError(false, mLastErrorString);
|
||||
|
||||
if (mDocument) {
|
||||
|
Loading…
Reference in New Issue
Block a user