[Libreoffice-commits] core.git: xmlsecurity/source

Caolán McNamara (via logerrit) logerrit at kemper.freedesktop.org
Tue Jul 16 08:57:46 UTC 2019


 xmlsecurity/source/xmlsec/saxhelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 119619350237b83859295fd60980916ea32985d2
Author:     Caolán McNamara <caolanm at redhat.com>
AuthorDate: Mon Jul 15 20:22:30 2019 +0100
Commit:     Caolán McNamara <caolanm at redhat.com>
CommitDate: Tue Jul 16 10:57:02 2019 +0200

    cid#1448421 unsafe_xml_parse_config
    
    do we need this as 1 ?
    
    Change-Id: I12cdec90f5ca989767a769dfc1dbebf73fae696c
    Reviewed-on: https://gerrit.libreoffice.org/75658
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <Michael.Stahl at cib.de>

diff --git a/xmlsecurity/source/xmlsec/saxhelper.cxx b/xmlsecurity/source/xmlsec/saxhelper.cxx
index d9e71226a7b8..1410eb5b0874 100644
--- a/xmlsecurity/source/xmlsec/saxhelper.cxx
+++ b/xmlsecurity/source/xmlsec/saxhelper.cxx
@@ -118,7 +118,7 @@ SAXHelper::SAXHelper( )
      * compile error:
      * xmlLoadExtDtdDefaultValue = XML_DETECT_IDS | XML_COMPLETE_ATTRS ;
      */
-    xmlSubstituteEntitiesDefault( 1 ) ;
+    xmlSubstituteEntitiesDefault(0) ;
 
 #ifndef XMLSEC_NO_XSLT
     xmlIndentTreeOutput = 1 ;


More information about the Libreoffice-commits mailing list