sal/rtl/math.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 9d584509f72f5624f18850582634dbad8c3f72fc
Author: Caolán McNamara <[email protected]>
AuthorDate: Sun Sep 21 10:43:46 2025 +0100
Commit: Caolán McNamara <[email protected]>
CommitDate: Mon Sep 22 11:17:35 2025 +0200
cid#1666316 Uninitialized pointer field
Change-Id: I0225372b5e3741033eb0a9ecff1583f24f0f16ef
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191309
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <[email protected]>
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx
index 860b5a4a727c..60e438a2db22 100644
--- a/sal/rtl/math.cxx
+++ b/sal/rtl/math.cxx
@@ -241,6 +241,7 @@ double stringToDouble(CharT const* pBegin, CharT const*
pEnd, CharT cDecSeparato
string = stringInHeap.get();
map = mapInHeap.get();
}
+ // coverity[uninit_member] - mapOnStack contents intentionally
not initialized
}
// [-loplugin:unusedmember] false positive
void insert(char c, const CharT* ptr)