summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2018-07-16 06:10:19 (GMT)
committerGitHub <noreply@github.com>2018-07-16 06:10:19 (GMT)
commitbd47384e07bde38a8f18b90b4cea02a505d95c75 (patch)
tree032099abf31aac9d5c5e1ecf273f301ad2e8233a /Misc/NEWS.d
parent15c7b2abdfb93f8902dd72474818aee2bf97fa66 (diff)
downloadcpython-bd47384e07bde38a8f18b90b4cea02a505d95c75.zip
cpython-bd47384e07bde38a8f18b90b4cea02a505d95c75.tar.gz
cpython-bd47384e07bde38a8f18b90b4cea02a505d95c75.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2018-07-14-14-01-37.bpo-24618.iTKjD_.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2018-07-14-14-01-37.bpo-24618.iTKjD_.rst b/Misc/NEWS.d/next/Core and Builtins/2018-07-14-14-01-37.bpo-24618.iTKjD_.rst
new file mode 100644
index 0000000..180b565
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2018-07-14-14-01-37.bpo-24618.iTKjD_.rst
@@ -0,0 +1,2 @@
+Fixed reading invalid memory when create the code object with too small
+varnames tuple or too large argument counts.