[Libreoffice-commits] core.git: sax/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Wed Jul 24 15:38:38 UTC 2019
sax/source/fastparser/fastparser.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit da346f7afbe5e42b07c205c1c61c48d0f7036931
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Wed Jul 24 11:16:14 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Jul 24 17:37:22 2019 +0200
cid#1448394 can't change xml_parse_config setting
Change-Id: I8c45c9d5e0a6bc7439aa4d0827e4752ec364d12c
Reviewed-on: https://gerrit.libreoffice.org/76247
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sax/source/fastparser/fastparser.cxx b/sax/source/fastparser/fastparser.cxx
index 1ac7b209d311..6114cbc469d1 100644
--- a/sax/source/fastparser/fastparser.cxx
+++ b/sax/source/fastparser/fastparser.cxx
@@ -1055,6 +1055,7 @@ void FastSaxParserImpl::parse()
throw SAXException("Couldn't create parser", Reference< XInterface >(), Any() );
// Tell libxml2 parser to decode entities in attribute values.
+ // coverity[unsafe-xml-parse-config] - entity support is required
xmlCtxtUseOptions(rEntity.mpParser, XML_PARSE_NOENT);
}
else
More information about the Libreoffice-commits
mailing list