- markus@cvs.openbsd.org 2004/12/23 17:35:48
[session.c] check for NULL; from mpech
This commit is contained in:
parent
24c710e498
commit
172a5e8cb8
10
ChangeLog
10
ChangeLog
|
@ -1,4 +1,10 @@
|
||||||
20040118
|
20050120
|
||||||
|
- (dtucker) OpenBSD CVS Sync
|
||||||
|
- markus@cvs.openbsd.org 2004/12/23 17:35:48
|
||||||
|
[session.c]
|
||||||
|
check for NULL; from mpech
|
||||||
|
|
||||||
|
20050118
|
||||||
- (dtucker) [INSTALL Makefile.in configure.ac survey.sh.in] Implement
|
- (dtucker) [INSTALL Makefile.in configure.ac survey.sh.in] Implement
|
||||||
"make survey" and "make send-survey". This will provide data on the
|
"make survey" and "make send-survey". This will provide data on the
|
||||||
configure parameters, platform and platform features to the development
|
configure parameters, platform and platform features to the development
|
||||||
|
@ -1969,4 +1975,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.3608 2005/01/18 01:45:42 dtucker Exp $
|
$Id: ChangeLog,v 1.3609 2005/01/19 23:55:46 dtucker Exp $
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: session.c,v 1.180 2004/07/28 09:40:29 markus Exp $");
|
RCSID("$OpenBSD: session.c,v 1.181 2004/12/23 17:35:48 markus Exp $");
|
||||||
|
|
||||||
#include "ssh.h"
|
#include "ssh.h"
|
||||||
#include "ssh1.h"
|
#include "ssh1.h"
|
||||||
|
@ -245,6 +245,10 @@ do_authenticated1(Authctxt *authctxt)
|
||||||
u_int proto_len, data_len, dlen, compression_level = 0;
|
u_int proto_len, data_len, dlen, compression_level = 0;
|
||||||
|
|
||||||
s = session_new();
|
s = session_new();
|
||||||
|
if (s == NULL) {
|
||||||
|
error("no more sessions");
|
||||||
|
return;
|
||||||
|
}
|
||||||
s->authctxt = authctxt;
|
s->authctxt = authctxt;
|
||||||
s->pw = authctxt->pw;
|
s->pw = authctxt->pw;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue