summaryrefslogtreecommitdiff
path: root/desktop/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-17 14:49:39 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-11-18 22:24:40 +0100
commita025eef0034e76e91b9fa4a2e33b133ce6dd07eb (patch)
tree8242c82d46386c7ae795dba8bcb4542c203a144c /desktop/source
parent331bcad4dbe923f4ce47cfe1de64ea0ffbe5a6ce (diff)
cid#1606638 silence Overflowed integer argument
and cid#1608572 Overflowed integer argument cid#1607772 Overflowed integer argument cid#1607196 Overflowed integer argument cid#1606568 Overflowed return value cid#1607573 Overflowed return value Change-Id: I9a701b19026572127399712c3b660094f2a0bd40 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/176740 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'desktop/source')
-rw-r--r--desktop/source/deployment/registry/configuration/dp_configuration.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/desktop/source/deployment/registry/configuration/dp_configuration.cxx b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
index e3789008306f..67acb9c7cdc7 100644
--- a/desktop/source/deployment/registry/configuration/dp_configuration.cxx
+++ b/desktop/source/deployment/registry/configuration/dp_configuration.cxx
@@ -581,6 +581,7 @@ OUString replaceOrigin(
size_t write_pos = 0;
while (nBytes > 0)
{
+ // coverity[ tainted_data_return : FALSE ] version 2023.12.2
sal_Int32 index = rtl_str_indexOfChar_WithLength( pBytes, nBytes, '%' );
if (index < 0) {
if (! use_filtered) // opt