summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2018-08-20-16-48-32.bpo-34441._zx9lU.rst
diff options
context:
space:
mode:
authorAlexey Izbyshev <izbyshev@ispras.ru>2018-08-20 20:04:19 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2018-08-20 20:04:19 (GMT)
commitcdbf50cba1664f72ae6621a89c324a32fea70377 (patch)
treefd5bb4fe8e06f467a05a704f214be8b9a904d1db /Misc/NEWS.d/next/Library/2018-08-20-16-48-32.bpo-34441._zx9lU.rst
parent4c8555773a801f957297132a92c0acb382d640e4 (diff)
downloadcpython-cdbf50cba1664f72ae6621a89c324a32fea70377.zip
cpython-cdbf50cba1664f72ae6621a89c324a32fea70377.tar.gz
cpython-cdbf50cba1664f72ae6621a89c324a32fea70377.tar.bz2
bpo-34441: Fix ABC.__subclasscheck__ crash on classes with invalid __subclasses__ (GH-8835)
The missing NULL check was reported by Svace static analyzer.
Diffstat (limited to 'Misc/NEWS.d/next/Library/2018-08-20-16-48-32.bpo-34441._zx9lU.rst')
-rw-r--r--Misc/NEWS.d/next/Library/2018-08-20-16-48-32.bpo-34441._zx9lU.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-08-20-16-48-32.bpo-34441._zx9lU.rst b/Misc/NEWS.d/next/Library/2018-08-20-16-48-32.bpo-34441._zx9lU.rst
new file mode 100644
index 0000000..6db095b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-08-20-16-48-32.bpo-34441._zx9lU.rst
@@ -0,0 +1,3 @@
+Fix crash when an ``ABC``-derived class with invalid ``__subclasses__`` is
+passed as the second argument to :func:`issubclass()`. Patch by Alexey
+Izbyshev.