diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2018-01-30 04:04:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-30 04:04:15 (GMT) |
commit | 83e64c8a544028ae677af2a0bc268dbe1c11cc3a (patch) | |
tree | 868565a320dc410ef3c3d1978624d300ab04a50d /Modules/_xxsubinterpretersmodule.c | |
parent | 9424dcbb3e20a26dfdd81659303b989f7d3da044 (diff) | |
download | cpython-83e64c8a544028ae677af2a0bc268dbe1c11cc3a.zip cpython-83e64c8a544028ae677af2a0bc268dbe1c11cc3a.tar.gz cpython-83e64c8a544028ae677af2a0bc268dbe1c11cc3a.tar.bz2 |
bpo-32604: NULL-terminate kwlist in channel_drop_interpreter(). (gh-5437)
Diffstat (limited to 'Modules/_xxsubinterpretersmodule.c')
-rw-r--r-- | Modules/_xxsubinterpretersmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c index ed79a13..d2b5f26 100644 --- a/Modules/_xxsubinterpretersmodule.c +++ b/Modules/_xxsubinterpretersmodule.c @@ -1916,7 +1916,7 @@ static PyObject * channel_drop_interpreter(PyObject *self, PyObject *args, PyObject *kwds) { // Note that only the current interpreter is affected. - static char *kwlist[] = {"id", "send", "recv"}; + static char *kwlist[] = {"id", "send", "recv", NULL}; PyObject *id; int send = -1; int recv = -1; |