]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Adapt code in the non-USE_PIPES codepath to the new packet
authordtucker@openbsd.org <dtucker@openbsd.org>
Tue, 5 Feb 2019 11:35:56 +0000 (11:35 +0000)
committerDamien Miller <djm@mindrot.org>
Fri, 8 Feb 2019 02:10:57 +0000 (13:10 +1100)
API. This code is not normally reachable since USE_PIPES is always defined.
bz#2961, patch from adrian.fita at gmail com.

OpenBSD-Commit-ID: 8d8428d678d1d5eb4bb21921df34e8173e6d238a

session.c

index 4862e5d63f5e0b96689deb40f81f5dc326bfa903..4448e6f1f2d9301a53e7a056866f8cd471c6efde 100644 (file)
--- a/session.c
+++ b/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.312 2019/01/19 21:41:53 djm Exp $ */
+/* $OpenBSD: session.c,v 1.313 2019/02/05 11:35:56 dtucker Exp $ */
 /*
  * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
  *                    All rights reserved
@@ -545,7 +545,7 @@ do_exec_no_pty(struct ssh *ssh, Session *s, const char *command)
         * Enter the interactive session.  Note: server_loop must be able to
         * handle the case that fdin and fdout are the same.
         */
-       session_set_fds(s, inout[1], inout[1], err[1],
+       session_set_fds(ssh, s, inout[1], inout[1], err[1],
            s->is_subsystem, 0);
 #endif
        return 0;