]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Add a missed PyErr_NoMemory() in symtable_new(). (GH-10576)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 16 Nov 2018 16:31:57 +0000 (08:31 -0800)
committerGitHub <noreply@github.com>
Fri, 16 Nov 2018 16:31:57 +0000 (08:31 -0800)
commit0124040aef793b66c33e518c6e9c17129bee0de4
treecbc949292e5fa8984ce7047fefa40612f7125b25
parent8856246c41b0663bfe8d3af7d52a7c337e25572d
Add a missed PyErr_NoMemory() in symtable_new(). (GH-10576)

This missed PyErr_NoMemory() could cause a SystemError when calling
_symtable.symtable().
(cherry picked from commit ad65f15581173542f1d2a9968a63bee272510ce3)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
Python/symtable.c