]> andersk Git - openssh.git/blobdiff - clientloop.c
doc
[openssh.git] / clientloop.c
index 86972f67583f13013fe49c594dd3549ed77b3451..47ef2fc97e224f7cd417d56ec287e74fb5fad888 100644 (file)
@@ -979,7 +979,12 @@ client_input_channel_open(int type, int plen)
                char *originator;
                int originator_port;
                originator = packet_get_string(NULL);
-               originator_port = packet_get_int();
+               if (datafellows & SSH_BUG_X11FWD) {
+                       debug("buggy server: x11 request w/o originator_port");
+                       originator_port = 0;
+               } else {
+                       originator_port = packet_get_int();
+               }
                packet_done();
                /* XXX check permission */
                xfree(originator);
This page took 0.049851 seconds and 4 git commands to generate.