Skip to content

Commit 20863e1

Browse files
committed
Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read
of size 8: wcscmp (wcscmp.S:464))
1 parent 2536e56 commit 20863e1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: Misc/valgrind-python.supp

+9
Original file line numberDiff line numberDiff line change
@@ -456,6 +456,15 @@
456456
fun:PyUnicode_FSConverter
457457
}
458458

459+
{
460+
wcscmp_false_positive
461+
Memcheck:Addr8
462+
fun:wcscmp
463+
fun:_PyOS_GetOpt
464+
fun:Py_Main
465+
fun:main
466+
}
467+
459468
# Additional suppressions for the unified decimal tests:
460469
{
461470
test_decimal

0 commit comments

Comments
 (0)