diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-08-12 22:42:29 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-08-12 22:42:29 +1000 |
commit | d8835934c4cf129b842b0f391783754cdaa0190c (patch) | |
tree | 1e2d947c4d0e3e3f70b01d843ef9e19eb0b80799 | |
parent | 9fbac719055b66ef2bcd9b4cc98163cd97d829bc (diff) |
- dtucker@cvs.openbsd.org 2004/08/11 11:50:09
[sshd.c]
Don't try to close startup_pipe if it's not open; ok djm@
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sshd.c | 5 |
2 files changed, 7 insertions, 3 deletions
@@ -15,6 +15,9 @@ | |||
15 | - dtucker@cvs.openbsd.org 2004/08/11 11:09:54 | 15 | - dtucker@cvs.openbsd.org 2004/08/11 11:09:54 |
16 | [servconf.c] | 16 | [servconf.c] |
17 | Fix minor leak; "looks right" deraadt@ | 17 | Fix minor leak; "looks right" deraadt@ |
18 | - dtucker@cvs.openbsd.org 2004/08/11 11:50:09 | ||
19 | [sshd.c] | ||
20 | Don't try to close startup_pipe if it's not open; ok djm@ | ||
18 | 21 | ||
19 | 20040720 | 22 | 20040720 |
20 | - (djm) OpenBSD CVS Sync | 23 | - (djm) OpenBSD CVS Sync |
@@ -1582,4 +1585,4 @@ | |||
1582 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM | 1585 | - (djm) Trim deprecated options from INSTALL. Mention UsePAM |
1583 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu | 1586 | - (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu |
1584 | 1587 | ||
1585 | $Id: ChangeLog,v 1.3493 2004/08/12 12:41:44 dtucker Exp $ | 1588 | $Id: ChangeLog,v 1.3494 2004/08/12 12:42:29 dtucker Exp $ |
@@ -42,7 +42,7 @@ | |||
42 | */ | 42 | */ |
43 | 43 | ||
44 | #include "includes.h" | 44 | #include "includes.h" |
45 | RCSID("$OpenBSD: sshd.c,v 1.300 2004/07/28 08:56:22 markus Exp $"); | 45 | RCSID("$OpenBSD: sshd.c,v 1.301 2004/08/11 11:50:09 dtucker Exp $"); |
46 | 46 | ||
47 | #include <openssl/dh.h> | 47 | #include <openssl/dh.h> |
48 | #include <openssl/bn.h> | 48 | #include <openssl/bn.h> |
@@ -1577,7 +1577,8 @@ main(int ac, char **av) | |||
1577 | 1577 | ||
1578 | dup2(config_s[1], REEXEC_CONFIG_PASS_FD); | 1578 | dup2(config_s[1], REEXEC_CONFIG_PASS_FD); |
1579 | close(config_s[1]); | 1579 | close(config_s[1]); |
1580 | close(startup_pipe); | 1580 | if (startup_pipe != -1) |
1581 | close(startup_pipe); | ||
1581 | 1582 | ||
1582 | execv(rexec_argv[0], rexec_argv); | 1583 | execv(rexec_argv[0], rexec_argv); |
1583 | 1584 | ||