diff options
author | Caolán McNamara <caolanm@redhat.com> | 2022-02-28 12:29:52 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2022-02-28 16:25:13 +0100 |
commit | a0b6883f06d16892b571655764852c4d6d3200f1 (patch) | |
tree | 19c1e2e4430d4144b2a5ee15559d89b97666e7f7 /tools | |
parent | 25bcd30895f8ebd2d47a8bab5a291690cf0e0aba (diff) |
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 <caolanm@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/source/stream/stream.cxx | 4 |
1 files 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; |