aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-tkinter/unchecked-ioctl.patch
diff options
context:
space:
mode:
authorIsaac Dunham <ibid.ag@gmail.com>2014-09-08 22:22:28 -0700
committerNatanael Copa <ncopa@alpinelinux.org>2014-09-09 06:12:54 +0000
commitbd1de6ce91a3e6a0c2e29aa98622f99607d56333 (patch)
treec88c23296a93e79ab2003496dd590b72adf4c777 /testing/py-tkinter/unchecked-ioctl.patch
parent68a495e3a860ec06e54d40eeb8ac27677f466ccb (diff)
downloadaports-bd1de6ce91a3e6a0c2e29aa98622f99607d56333.tar.bz2
aports-bd1de6ce91a3e6a0c2e29aa98622f99607d56333.tar.xz
testing/py-tkinter: add new aport
This is the GUI part of python.
Diffstat (limited to 'testing/py-tkinter/unchecked-ioctl.patch')
-rw-r--r--testing/py-tkinter/unchecked-ioctl.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/py-tkinter/unchecked-ioctl.patch b/testing/py-tkinter/unchecked-ioctl.patch
new file mode 100644
index 0000000000..4d5564c2cb
--- /dev/null
+++ b/testing/py-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;