From a025eef0034e76e91b9fa4a2e33b133ce6dd07eb Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 17 Nov 2024 14:49:39 +0000 Subject: cid#1606638 silence Overflowed integer argument MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- desktop/source/deployment/registry/configuration/dp_configuration.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'desktop/source') 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 -- cgit