From a22bed04e6d6950b727d73d46a56ac32beaa305b Mon Sep 17 00:00:00 2001 From: J0WI Date: Wed, 23 Jan 2019 15:42:31 +0100 Subject: community/python2-tkinter: synchronize with main/python2 --- community/python2-tkinter/unchecked-ioctl.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 community/python2-tkinter/unchecked-ioctl.patch (limited to 'community/python2-tkinter/unchecked-ioctl.patch') diff --git a/community/python2-tkinter/unchecked-ioctl.patch b/community/python2-tkinter/unchecked-ioctl.patch new file mode 100644 index 0000000000..4d5564c2cb --- /dev/null +++ b/community/python2-tkinter/unchecked-ioctl.patch @@ -0,0 +1,11 @@ +--- ./Modules/fcntlmodule.c.orig ++++ ./Modules/fcntlmodule.c +@@ -118,7 +118,7 @@ + int mutate_arg = 1; + char buf[IOCTL_BUFSZ+1]; /* argument plus NUL byte */ + +- if (PyArg_ParseTuple(args, "O&Iw#|i:ioctl", ++ if (PyArg_ParseTuple(args, "O&Iw#|n:ioctl", + conv_descriptor, &fd, &code, + &str, &len, &mutate_arg)) { + char *arg; -- cgit v1.2.3