rapidjson
rapidjson copied to clipboard
Some valgrind unit tests do not pass
I am unsure why they are not passing, as I am not proficient in using valgrind.
Affected unit tests
readerParseDoubleHandlerParseNumber_NormalPrecisionError
dtoanormalmaxDecimalPlaces
Adding the lines below to test/valgrind.supp allows the tests to pass, but is not desirable.
{
Suppress memcpy_chk valgrind report 5
Memcheck:Overlap
fun:__memcpy_chk
fun:*dtoa_normal*
}
{
Suppress memcpy_chk valgrind report 6
Memcheck:Overlap
fun:__memcpy_chk
fun:*dtoa_maxDecimalPlaces*
}
{
Suppress memcpy_chk valgrind report 7
Memcheck:Overlap
fun:__memcpy_chk
...
fun:*Reader*ParseDoubleHandler*
}
{
Suppress memcpy_chk valgrind report 8
Memcheck:Overlap
fun:__memcpy_chk
fun:*Reader*ParseNumber_NormalPrecisionError*
}