From: Zac Medico Date: Thu, 8 Jun 2017 00:21:33 +0000 (-0700) Subject: pylibmount: NULL terminate kwlist in Context_init X-Git-Tag: v2.30.1~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b49c756b0e781ae9bb59b532fab092780365294a;p=thirdparty%2Futil-linux.git pylibmount: NULL terminate kwlist in Context_init Fixes a segfault observed with python3.6. --- diff --git a/libmount/python/context.c b/libmount/python/context.c index 6d82e14327..982414d01d 100644 --- a/libmount/python/context.c +++ b/libmount/python/context.c @@ -90,7 +90,7 @@ static int Context_init(ContextObjext *self, PyObject *args, PyObject *kwds) "source", "target", "fstype", "options", "mflags", "fstype_pattern", "options_pattern", "fs", "fstab", - "optsmode" + "optsmode", NULL }; if (!PyArg_ParseTupleAndKeywords(