tools/source/stream/stream.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit a0b6883f06d16892b571655764852c4d6d3200f1
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Mon Feb 28 12:29:52 2022 +0000
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Mon Feb 28 16:25:13 2022 +0100

    cid#1500555 try +taint_sanitize instead of -taint_source
    
    Change-Id: I2a0f9ef243c3f17717afed8809b1e3fbc033c6f2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130706
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>

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;

Reply via email to