diff options
author | djm@openbsd.org <djm@openbsd.org> | 2020-06-05 08:18:07 +0200 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2020-06-05 08:20:09 +0200 |
commit | 3a7f654d5bcb20df24a134b6581b0d235da4564a (patch) | |
tree | 004e59a23dae1d2990213878935cd2c6748ca57b | |
parent | Add support for AUDIT_ARCH_RISCV64 (diff) | |
download | openssh-3a7f654d5bcb20df24a134b6581b0d235da4564a.tar.xz openssh-3a7f654d5bcb20df24a134b6581b0d235da4564a.zip |
upstream: unbreak "sshd -ddd" - close of config passing fd happened too
early. ok markus@
OpenBSD-Commit-ID: 49346e945c6447aca3e904e65fc400128d2f8ed0
-rw-r--r-- | sshd.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.555 2020/05/26 01:09:05 djm Exp $ */ +/* $OpenBSD: sshd.c,v 1.556 2020/06/05 06:18:07 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1310,7 +1310,6 @@ server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s) startup_pipe = -1; pid = getpid(); if (rexec_flag) { - close(config_s[1]); send_rexec_state(config_s[0], cfg); close(config_s[0]); } |