mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-11-23 18:23:25 +08:00
- djm@cvs.openbsd.org 2006/03/19 07:41:30
[sshconnect2.c] memory leaks detected by Coverity via elad AT netbsd.org; deraadt@ ok
This commit is contained in:
parent
928b23684a
commit
5790b5910b
@ -30,6 +30,10 @@
|
||||
[dh.c readconf.c servconf.c]
|
||||
potential NULL pointer dereferences detected by Coverity
|
||||
via elad AT netbsd.org; ok deraadt@
|
||||
- djm@cvs.openbsd.org 2006/03/19 07:41:30
|
||||
[sshconnect2.c]
|
||||
memory leaks detected by Coverity via elad AT netbsd.org;
|
||||
deraadt@ ok
|
||||
|
||||
20060325
|
||||
- OpenBSD CVS Sync
|
||||
@ -4287,4 +4291,4 @@
|
||||
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
|
||||
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
|
||||
|
||||
$Id: ChangeLog,v 1.4249 2006/03/26 02:53:32 djm Exp $
|
||||
$Id: ChangeLog,v 1.4250 2006/03/26 02:54:12 djm Exp $
|
||||
|
@ -513,8 +513,10 @@ userauth_gssapi(Authctxt *authctxt)
|
||||
}
|
||||
}
|
||||
|
||||
if (!ok)
|
||||
if (!ok) {
|
||||
ssh_gssapi_delete_ctx(&gssctxt);
|
||||
return 0;
|
||||
}
|
||||
|
||||
authctxt->methoddata=(void *)gssctxt;
|
||||
|
||||
@ -1330,6 +1332,7 @@ userauth_hostbased(Authctxt *authctxt)
|
||||
if (p == NULL) {
|
||||
error("userauth_hostbased: cannot get local ipaddr/name");
|
||||
key_free(private);
|
||||
xfree(blob);
|
||||
return 0;
|
||||
}
|
||||
len = strlen(p) + 2;
|
||||
@ -1368,6 +1371,7 @@ userauth_hostbased(Authctxt *authctxt)
|
||||
error("key_sign failed");
|
||||
xfree(chost);
|
||||
xfree(pkalg);
|
||||
xfree(blob);
|
||||
return 0;
|
||||
}
|
||||
packet_start(SSH2_MSG_USERAUTH_REQUEST);
|
||||
@ -1383,6 +1387,7 @@ userauth_hostbased(Authctxt *authctxt)
|
||||
xfree(signature);
|
||||
xfree(chost);
|
||||
xfree(pkalg);
|
||||
xfree(blob);
|
||||
|
||||
packet_send();
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user