summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-02-24 12:05:18 +1100
committerDamien Miller <djm@mindrot.org>2003-02-24 12:05:18 +1100
commit543402108ed6140bff2ddd6eb4011413b1d3b97f (patch)
tree7dfc8cdcd602934ec36577d9ee3ac1f5c80a7da1
parent9f82c8fa4f9b6b258caf432567d43b5194d99ad0 (diff)
- mpech@cvs.openbsd.org 2003/02/21 10:34:48
[auth-krb4.c] ...sizeof(&adat.session) is not good here. henning@, deraadt@, millert@
-rw-r--r--ChangeLog6
-rw-r--r--auth-krb4.c4
2 files changed, 7 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index c37cd63f..5f0c8371 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -74,6 +74,10 @@
- markus@cvs.openbsd.org 2003/02/21 09:05:53
[servconf.c]
print sshd_config filename in debug2 mode.
+ - mpech@cvs.openbsd.org 2003/02/21 10:34:48
+ [auth-krb4.c]
+ ...sizeof(&adat.session) is not good here.
+ henning@, deraadt@, millert@
20030211
- (djm) Cygwin needs libcrypt too. Patch from vinschen@redhat.com
@@ -1174,4 +1178,4 @@
save auth method before monitor_reset_key_state(); bugzilla bug #284;
ok provos@
-$Id: ChangeLog,v 1.2614 2003/02/24 01:04:33 djm Exp $
+$Id: ChangeLog,v 1.2615 2003/02/24 01:05:18 djm Exp $
diff --git a/auth-krb4.c b/auth-krb4.c
index b86ce7e4..b28df469 100644
--- a/auth-krb4.c
+++ b/auth-krb4.c
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth-krb4.c,v 1.28 2002/09/26 11:38:43 markus Exp $");
+RCSID("$OpenBSD: auth-krb4.c,v 1.29 2003/02/21 10:34:48 mpech Exp $");
#include "ssh.h"
#include "ssh1.h"
@@ -271,7 +271,7 @@ auth_krb4(Authctxt *authctxt, KTEXT auth, char **client, KTEXT reply)
reply->length = r;
/* Clear session key. */
- memset(&adat.session, 0, sizeof(&adat.session));
+ memset(&adat.session, 0, sizeof(adat.session));
return (1);
}
#endif /* KRB4 */