From 543402108ed6140bff2ddd6eb4011413b1d3b97f Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Mon, 24 Feb 2003 12:05:18 +1100 Subject: [PATCH] - mpech@cvs.openbsd.org 2003/02/21 10:34:48 [auth-krb4.c] ...sizeof(&adat.session) is not good here. henning@, deraadt@, millert@ --- ChangeLog | 6 +++++- auth-krb4.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index c37cd63f5..5f0c83713 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 b86ce7e49..b28df469f 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 */