]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-24618: Add a check in the code constructor. (GH-8283)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 16 Jul 2018 07:09:44 +0000 (00:09 -0700)
committerGitHub <noreply@github.com>
Mon, 16 Jul 2018 07:09:44 +0000 (00:09 -0700)
commit5594f1dfbe214151b75405be042e9420a3649241
treea045a3c525469b2ac9874cde9480fbf2955d4286
parent3fc12f0e2ad9ba49243f5a43a8803018b2ff5904
bpo-24618: Add a check in the code constructor. (GH-8283)

Check that the size of the varnames tuple is enough at least for all arguments.
(cherry picked from commit bd47384e07bde38a8f18b90b4cea02a505d95c75)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Misc/NEWS.d/next/Core and Builtins/2018-07-14-14-01-37.bpo-24618.iTKjD_.rst [new file with mode: 0644]
Objects/codeobject.c