From: Eric Snow Date: Tue, 30 Jan 2018 04:04:15 +0000 (-0700) Subject: bpo-32604: NULL-terminate kwlist in channel_drop_interpreter(). (gh-5437) X-Git-Tag: v3.7.0b1~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=83e64c8a544028ae677af2a0bc268dbe1c11cc3a;p=python bpo-32604: NULL-terminate kwlist in channel_drop_interpreter(). (gh-5437) --- diff --git a/Modules/_xxsubinterpretersmodule.c b/Modules/_xxsubinterpretersmodule.c index ed79a13d4a..d2b5f26fae 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;