diff options
Diffstat (limited to 'package/openssh/patches/patch-openbsd-compat_port-tun_c')
-rw-r--r-- | package/openssh/patches/patch-openbsd-compat_port-tun_c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/package/openssh/patches/patch-openbsd-compat_port-tun_c b/package/openssh/patches/patch-openbsd-compat_port-tun_c deleted file mode 100644 index 55dab2b39..000000000 --- a/package/openssh/patches/patch-openbsd-compat_port-tun_c +++ /dev/null @@ -1,11 +0,0 @@ ---- openssh-5.6p1.orig/openbsd-compat/port-tun.c 2010-08-10 04:47:42.000000000 +0200 -+++ openssh-5.6p1/openbsd-compat/port-tun.c 2011-01-27 18:16:39.000000000 +0100 -@@ -215,7 +215,7 @@ sys_tun_infilter(struct Channel *c, char - if (len <= 0 || len > (int)(sizeof(rbuf) - sizeof(*af))) - return (-1); - ptr = (char *)&rbuf[0]; -- bcopy(buf, ptr + sizeof(u_int32_t), len); -+ memcpy(ptr + sizeof(u_int32_t), buf, len); - len += sizeof(u_int32_t); - af = (u_int32_t *)ptr; - |