From d752b1682307008d3e08a9f11e50ddc506d5f6ab Mon Sep 17 00:00:00 2001 From: Stephan Bergmann <sbergman@redhat.com> Date: Tue, 6 Dec 2016 16:38:31 +0100 Subject: Remove broken SAL_INFO Identifier apparently is not null terminated; caused CppunitTest_unoxml_domtest to fail with out-of-bounds read under -fsanitize=address. Change-Id: Id7c6ef6323d41d16b559488604e1c1feb725d608 --- unoxml/qa/unit/domtest.cxx | 1 - 1 file changed, 1 deletion(-) (limited to 'unoxml/qa') diff --git a/unoxml/qa/unit/domtest.cxx b/unoxml/qa/unit/domtest.cxx index f6b940ba65bf..bc7ff57c2234 100644 --- a/unoxml/qa/unit/domtest.cxx +++ b/unoxml/qa/unit/domtest.cxx @@ -173,7 +173,6 @@ struct TokenHandler { virtual ::sal_Int32 SAL_CALL getTokenFromUTF8( const uno::Sequence< ::sal_Int8 >& Identifier ) throw (uno::RuntimeException) override { - SAL_INFO("unoxml", "getTokenFromUTF8() " << reinterpret_cast<const char*>(Identifier.getConstArray())); return Identifier.getLength() ? Identifier[0] : 0; } -- cgit