From a0b6883f06d16892b571655764852c4d6d3200f1 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 28 Feb 2022 12:29:52 +0000 Subject: cid#1500555 try +taint_sanitize instead of -taint_source MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2a0f9ef243c3f17717afed8809b1e3fbc033c6f2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130706 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- tools/source/stream/stream.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/source/stream/stream.cxx b/tools/source/stream/stream.cxx index 62c9be957c83..c69b2d053231 100644 --- a/tools/source/stream/stream.cxx +++ b/tools/source/stream/stream.cxx @@ -1788,7 +1788,7 @@ void SvMemoryStream::SetSize(sal_uInt64 const nNewSize) } // Create an OString of nLen bytes from rStream -// coverity[ -taint_source ] +// coverity[ +taint_sanitize ] OString read_uInt8s_ToOString(SvStream& rStrm, std::size_t nLen) { rtl_String *pStr = nullptr; @@ -1820,7 +1820,7 @@ OString read_uInt8s_ToOString(SvStream& rStrm, std::size_t nLen) } // Create an OUString of nLen sal_Unicode code units from rStream -// coverity[ -taint_source ] +// coverity[ +taint_sanitize ] OUString read_uInt16s_ToOUString(SvStream& rStrm, std::size_t nLen) { rtl_uString *pStr = nullptr; -- cgit