mirror of git://anongit.mindrot.org/openssh.git
- avsm@cvs.openbsd.org 2004/06/26 20:07:16
[sshd.c] initialise some fd variables to -1, djm@ ok
This commit is contained in:
parent
26213e556b
commit
386c6a2c70
|
@ -13,6 +13,9 @@
|
||||||
- jmc@cvs.openbsd.org 2004/06/26 09:14:40
|
- jmc@cvs.openbsd.org 2004/06/26 09:14:40
|
||||||
[sshd_config.5]
|
[sshd_config.5]
|
||||||
new sentence, new line;
|
new sentence, new line;
|
||||||
|
- avsm@cvs.openbsd.org 2004/06/26 20:07:16
|
||||||
|
[sshd.c]
|
||||||
|
initialise some fd variables to -1, djm@ ok
|
||||||
|
|
||||||
20040627
|
20040627
|
||||||
- (tim) update README files.
|
- (tim) update README files.
|
||||||
|
@ -1459,4 +1462,4 @@
|
||||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.3461 2004/06/30 12:39:34 djm Exp $
|
$Id: ChangeLog,v 1.3462 2004/06/30 12:40:20 djm Exp $
|
||||||
|
|
5
sshd.c
5
sshd.c
|
@ -42,7 +42,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: sshd.c,v 1.296 2004/06/25 18:43:36 djm Exp $");
|
RCSID("$OpenBSD: sshd.c,v 1.297 2004/06/26 20:07:16 avsm Exp $");
|
||||||
|
|
||||||
#include <openssl/dh.h>
|
#include <openssl/dh.h>
|
||||||
#include <openssl/bn.h>
|
#include <openssl/bn.h>
|
||||||
|
@ -874,7 +874,8 @@ main(int ac, char **av)
|
||||||
{
|
{
|
||||||
extern char *optarg;
|
extern char *optarg;
|
||||||
extern int optind;
|
extern int optind;
|
||||||
int opt, sock_in = 0, sock_out = 0, newsock, j, i, fdsetsz, on = 1;
|
int opt, j, i, fdsetsz, on = 1;
|
||||||
|
int sock_in = -1, sock_out = -1, newsock = -1;
|
||||||
pid_t pid;
|
pid_t pid;
|
||||||
socklen_t fromlen;
|
socklen_t fromlen;
|
||||||
fd_set *fdset;
|
fd_set *fdset;
|
||||||
|
|
Loading…
Reference in New Issue