summaryrefslogtreecommitdiff
path: root/security/openssh-portable/files/patch-serverloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/openssh-portable/files/patch-serverloop.c')
-rw-r--r--security/openssh-portable/files/patch-serverloop.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/security/openssh-portable/files/patch-serverloop.c b/security/openssh-portable/files/patch-serverloop.c
deleted file mode 100644
index 53c08eebf15f..000000000000
--- a/security/openssh-portable/files/patch-serverloop.c
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix CVE-2016-10010
-
-
---- serverloop.c.orig 2016-07-27 17:54:27.000000000 -0500
-+++ serverloop.c 2017-01-11 18:44:42.881227000 -0600
-@@ -999,7 +999,7 @@
-
- /* XXX fine grained permissions */
- if ((options.allow_streamlocal_forwarding & FORWARD_LOCAL) != 0 &&
-- !no_port_forwarding_flag) {
-+ !no_port_forwarding_flag && use_privsep) {
- c = channel_connect_to_path(target,
- "direct-streamlocal@openssh.com", "direct-streamlocal");
- } else {
-@@ -1280,7 +1280,7 @@
-
- /* check permissions */
- if ((options.allow_streamlocal_forwarding & FORWARD_REMOTE) == 0
-- || no_port_forwarding_flag) {
-+ || no_port_forwarding_flag || !use_privsep) {
- success = 0;
- packet_send_debug("Server has disabled port forwarding.");
- } else {