]> granicus.if.org Git - python/commit
bpo-37072: Fix crash in PyAST_FromNodeObject() when flags is NULL (#13634)
authorGuido van Rossum <guido@python.org>
Tue, 28 May 2019 23:44:58 +0000 (16:44 -0700)
committerGitHub <noreply@github.com>
Tue, 28 May 2019 23:44:58 +0000 (16:44 -0700)
commit77f0ed7a42606d03ebfe48ab152caf0d796d6540
tree1aab5bc929a5d50b3a4820ce7fdb2c05aafd6a73
parent44bfff2ec220f2e0291150a776d4d77af7c821ef
bpo-37072: Fix crash in PyAST_FromNodeObject() when flags is NULL (#13634)

I'm confident that this fixes the reported crash. flags=NULL is treated as using the latest minor version.

https://bugs.python.org/issue37072
Misc/NEWS.d/next/Core and Builtins/2019-05-28-18-18-55.bpo-37072.1Hewl3.rst [new file with mode: 0644]
Python/ast.c