diff options
author | Zac Medico | 2017-06-08 02:21:33 +0200 |
---|---|---|
committer | Zac Medico | 2017-06-08 02:25:12 +0200 |
commit | 29b721bc9d20ed44858017689ce1745c220bd0d4 (patch) | |
tree | c34638d0c93dcd55a0faecd05e9ddc7be6b35524 /libmount/python | |
parent | libmount: use mount table filter on --no-canonicalize (diff) | |
download | kernel-qcow2-util-linux-29b721bc9d20ed44858017689ce1745c220bd0d4.tar.gz kernel-qcow2-util-linux-29b721bc9d20ed44858017689ce1745c220bd0d4.tar.xz kernel-qcow2-util-linux-29b721bc9d20ed44858017689ce1745c220bd0d4.zip |
pylibmount: NULL terminate kwlist in Context_init
Fixes a segfault observed with python3.6.
Diffstat (limited to 'libmount/python')
-rw-r--r-- | libmount/python/context.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmount/python/context.c b/libmount/python/context.c index 6d82e1432..982414d01 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( |