diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-07-24 11:16:14 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-07-24 17:37:22 +0200 |
commit | da346f7afbe5e42b07c205c1c61c48d0f7036931 (patch) | |
tree | 60977cccaa51f28cd9342bc6060b5366427be2ba /sax | |
parent | 421c7d874d62f3d0f696df540744845753902583 (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sax')
-rw-r--r-- | sax/source/fastparser/fastparser.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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 |