bpo-32604: NULL-terminate kwlist in channel_drop_interpreter(). (gh-5437)

This commit is contained in:
Eric Snow 2018-01-29 21:04:15 -07:00 committed by GitHub
parent 9424dcbb3e
commit 83e64c8a54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;