]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-34441: Fix ABC.__subclasscheck__ crash on classes with invalid __subclasses__...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 20 Aug 2018 20:42:18 +0000 (16:42 -0400)
committerGitHub <noreply@github.com>
Mon, 20 Aug 2018 20:42:18 +0000 (16:42 -0400)
commitd1f0ccc7e65ef7abeab779f5d0aca2f18eb9b2a4
tree91e8173ec394d761f5e9b7ca59e2445666554187
parent2011dd77b6bd6f02f54ceef9a80a22bd373b66e2
bpo-34441: Fix ABC.__subclasscheck__ crash on classes with invalid __subclasses__ (GH-8835)

The missing NULL check was reported by Svace static analyzer.
(cherry picked from commit cdbf50cba1664f72ae6621a89c324a32fea70377)

Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
Lib/test/test_abc.py
Misc/NEWS.d/next/Library/2018-08-20-16-48-32.bpo-34441._zx9lU.rst [new file with mode: 0644]
Modules/_abc.c