diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-11-09 20:35:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-11-11 11:15:28 +0100 |
commit | 557b2dcb3ca5d86f411ae89969aec397bad3ec0c (patch) | |
tree | 4cf61d978c36097b7a6795ae0050fe1aa3ad962f /sd | |
parent | 8bf5fa407e00f0a5c271a6e3d7b91330797c2726 (diff) |
cid#1607564 silence Overflowed integer argument
Change-Id: Ib008987be1102782fd92214ae8bf35f8f862d2a4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176381
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/remotecontrol/BufferedStreamSocket.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx index e2fe96fc383e..2834bb74a9f9 100644 --- a/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx +++ b/sd/source/ui/remotecontrol/BufferedStreamSocket.cxx @@ -107,7 +107,10 @@ sal_Int32 BufferedStreamSocket::readLine( OString& aLine ) sal_Int32 nRet; if (!usingCSocket) + { + // coverity[ tainted_data_return : FALSE ] version 2023.12.2 nRet = StreamSocket::recv( &aBuffer[aRead], 100 ); + } else nRet = ::recv( mSocket, &aBuffer[aRead], 100, 0 ); |