aboutsummaryrefslogtreecommitdiffstats
path: root/community/python2-tkinter/unchecked-ioctl.patch
diff options
context:
space:
mode:
authorJ0WI <J0WI@users.noreply.github.com>2019-01-23 15:42:31 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2019-01-24 16:29:57 +0000
commita22bed04e6d6950b727d73d46a56ac32beaa305b (patch)
tree11f4ebe23ac4e4141c1d0372b4a983b1aab33599 /community/python2-tkinter/unchecked-ioctl.patch
parentd96309a215754135a99d10a0a43b14ca0bd4d434 (diff)
downloadaports-a22bed04e6d6950b727d73d46a56ac32beaa305b.tar.bz2
aports-a22bed04e6d6950b727d73d46a56ac32beaa305b.tar.xz
community/python2-tkinter: synchronize with main/python2
Diffstat (limited to 'community/python2-tkinter/unchecked-ioctl.patch')
-rw-r--r--community/python2-tkinter/unchecked-ioctl.patch11
1 files changed, 11 insertions, 0 deletions
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;