debian arm valgrind false positive CString::FormatV

Description

lewis@raspberrypi:/tmp $ valgrind -q --gen-suppressions=yes --track-origins=yes --tool=memcheck --leak-check=full --suppressions=Valgrind-MemCheck-Common.supp /tmp/Test21
==25187== Conditional jump or move depends on uninitialised value(s)
==25187== at 0x1188B0: void std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_construct<char const*>(char const*, char const*, std::forward_iterator_tag) [clone .constprop.290] (in /tmp/Test21)
==25187== by 0x118935: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&) [clone .constprop.289] (in /tmp/Test21)
==25187== by 0x116C43: Stroika::Foundation::Characters::CString::FormatV[abi:cxx11](char const*, std::__va_list) [clone .constprop.287] (in /tmp/Test21)
==25187== Uninitialised value was created by a stack allocation
==25187== at 0x116BF2: Stroika::Foundation::Characters::CString::FormatV[abi:cxx11](char const*, std::__va_list) [clone .constprop.287] (in /tmp/Test21)
==25187==
==25187==
==25187== ---- Print suppression ? — [Return/N/n/Y/y/C/c] ---- y
{
<insert_a_suppression_name_here>
Memcheck:Cond
fun:ZNSt7_cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag.constprop.290
fun:ZNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEC2IS3_EEPKcRKS3.constprop.289
fun:ZN7Stroika10Foundation10Characters7CString7FormatVB5cxx11EPKcSt9_va_list.constprop.287
}

Added suppression

{
<insert_a_suppression_name_here>
Memcheck:Cond
...
fun:ZN7Stroika10Foundation10Characters7CString7FormatVB5cxx11EPKcSt9_va_list.constprop.*
...
}

after reviewing code in
string Characters::CString::FormatV (const char* format, va_list argsList)

Environment

None

Status

Assignee

Lewis Pringle

Reporter

Lewis Pringle

Labels

None

Priority

Medium
Configure