From da346f7afbe5e42b07c205c1c61c48d0f7036931 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 24 Jul 2019 11:16:14 +0100 Subject: cid#1448394 can't change xml_parse_config setting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8c45c9d5e0a6bc7439aa4d0827e4752ec364d12c Reviewed-on: https://gerrit.libreoffice.org/76247 Tested-by: Jenkins Reviewed-by: Caolán McNamara Tested-by: Caolán McNamara --- sax/source/fastparser/fastparser.cxx | 1 + 1 file changed, 1 insertion(+) 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 -- cgit