diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-11-22 12:11:04 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-11-22 15:30:52 +0100 |
commit | 82d2049df2fd9ed4275b93762d75600287f7d926 (patch) | |
tree | b27c6c6065079f1c10a46c1f94c33e284945c30b | |
parent | 8baf30424fa47138cf5828d80433c13e3f41edb3 (diff) |
cid#1448239 unsafe_xml_parse_config
Change-Id: I85e471943338baca756707e8e40f46ff69d96a36
Reviewed-on: https://gerrit.libreoffice.org/83479
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | helpcompiler/source/HelpCompiler.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 4407d12c7c03..78d16b2feaf3 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -130,6 +130,7 @@ xmlDocPtr HelpCompiler::getSourceDocument(const fs::path &filePath) { static std::string fsroot('\'' + src.toUTF8() + '\''); + // coverity[unsafe_xml_parse_config] - entity support is required in the build-time only utility xmlSubstituteEntitiesDefault(1); xmlLoadExtDtdDefaultValue = 1; cur = xsltParseStylesheetFile(reinterpret_cast<const xmlChar *>(resEmbStylesheet.native_file_string().c_str())); |