[Python-checkins] cpython (3.3): Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read

stefan.krah python-checkins at python.org
Fri Nov 8 21:14:23 CET 2013


http://hg.python.org/cpython/rev/ec3ba0c13222
changeset:   87019:ec3ba0c13222
branch:      3.3
user:        Stefan Krah <skrah at bytereef.org>
date:        Fri Nov 08 20:18:09 2013 +0100
summary:
  Valgrind: suppress false positive in _PyOS_GetOpt (getopt.c:84) (Invalid read
of size 8: wcscmp (wcscmp.S:464))

files:
  Misc/valgrind-python.supp |  9 +++++++++
  1 files changed, 9 insertions(+), 0 deletions(-)


diff --git a/Misc/valgrind-python.supp b/Misc/valgrind-python.supp
--- a/Misc/valgrind-python.supp
+++ b/Misc/valgrind-python.supp
@@ -456,6 +456,15 @@
    fun:PyUnicode_FSConverter
 }
 
+{
+   wcscmp_false_positive
+   Memcheck:Addr8
+   fun:wcscmp
+   fun:_PyOS_GetOpt
+   fun:Py_Main
+   fun:main
+}
+
 # Additional suppressions for the unified decimal tests:
 {
    test_decimal

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list