diff options
author | J0WI <J0WI@users.noreply.github.com> | 2019-01-23 15:42:31 +0100 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-24 16:29:57 +0000 |
commit | a22bed04e6d6950b727d73d46a56ac32beaa305b (patch) | |
tree | 11f4ebe23ac4e4141c1d0372b4a983b1aab33599 /community/python2-tkinter/unchecked-ioctl.patch | |
parent | d96309a215754135a99d10a0a43b14ca0bd4d434 (diff) | |
download | aports-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.patch | 11 |
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; |