summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Price <price@astro.princeton.edu>2018-02-21 06:00:01 (GMT)
committerBenjamin Peterson <benjamin@python.org>2018-02-21 06:00:01 (GMT)
commitba518804bf4c1ea01df5e622b333d3116cbaa3bd (patch)
treed7bc5b9b2458ec527a911e7d0a9f125b683d84ad
parente9edee0b65650c4f9db90cefc2e9a8125bad762c (diff)
downloadcpython-ba518804bf4c1ea01df5e622b333d3116cbaa3bd.zip
cpython-ba518804bf4c1ea01df5e622b333d3116cbaa3bd.tar.gz
cpython-ba518804bf4c1ea01df5e622b333d3116cbaa3bd.tar.bz2
bpo-32889: update valgrind suppressions (GH-5779)
Py_ADDRESS_IN_RANGE was renamed address_in_range in 3.6 (commit 3924f93794fd740c547b44884f73303196475cd5).
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-02-20-21-53-48.bpo-32889.J6eWy5.rst2
-rw-r--r--Misc/valgrind-python.supp10
2 files changed, 7 insertions, 5 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-02-20-21-53-48.bpo-32889.J6eWy5.rst b/Misc/NEWS.d/next/Core and Builtins/2018-02-20-21-53-48.bpo-32889.J6eWy5.rst
new file mode 100644
index 0000000..99128cc
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-02-20-21-53-48.bpo-32889.J6eWy5.rst
@@ -0,0 +1,2 @@
+Update Valgrind suppression list to account for the rename of
+``Py_ADDRESS_IN_RANG`` to ``address_in_range``.
diff --git a/Misc/valgrind-python.supp b/Misc/valgrind-python.supp
index e612555..5bc60fc 100644
--- a/Misc/valgrind-python.supp
+++ b/Misc/valgrind-python.supp
@@ -8,7 +8,7 @@
# ./python -E ./Lib/test/regrtest.py -u gui,network
#
# You must edit Objects/obmalloc.c and uncomment Py_USING_MEMORY_DEBUGGER
-# to use the preferred suppressions with Py_ADDRESS_IN_RANGE.
+# to use the preferred suppressions with address_in_range.
#
# If you do not want to recompile Python, you can uncomment
# suppressions for PyObject_Free and PyObject_Realloc.
@@ -19,25 +19,25 @@
{
ADDRESS_IN_RANGE/Invalid read of size 4
Memcheck:Addr4
- fun:Py_ADDRESS_IN_RANGE
+ fun:address_in_range
}
{
ADDRESS_IN_RANGE/Invalid read of size 4
Memcheck:Value4
- fun:Py_ADDRESS_IN_RANGE
+ fun:address_in_range
}
{
ADDRESS_IN_RANGE/Invalid read of size 8 (x86_64 aka amd64)
Memcheck:Value8
- fun:Py_ADDRESS_IN_RANGE
+ fun:address_in_range
}
{
ADDRESS_IN_RANGE/Conditional jump or move depends on uninitialised value
Memcheck:Cond
- fun:Py_ADDRESS_IN_RANGE
+ fun:address_in_range
}
#