From e93538b4cd620efd44729ffd4ca51d38cea3b010 Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Tue, 20 Jun 2006 21:45:16 +0000 Subject: [PATCH] In verify_krb_v4_tgt, use an unsigned KRB4_32 to store an address rather than an unsigned long to avoid memcpying past the end of a structure on 64-bit platforms. Ticket: 581 Version_Reported: 1.0.5 Target_Version: 1.5 Tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18175 dc483132-0cff-0310-8789-dd5450dbe970 --- src/appl/bsd/login.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/appl/bsd/login.c b/src/appl/bsd/login.c index b49bababb..a3cdef797 100644 --- a/src/appl/bsd/login.c +++ b/src/appl/bsd/login.c @@ -786,7 +786,7 @@ static int verify_krb_v4_tgt (realm) struct hostent *hp; KTEXT_ST ticket; AUTH_DAT authdata; - unsigned long addr; + unsigned KRB4_32 addr; static /*const*/ char rcmd_str[] = "rcmd"; #if 0 char key[8]; -- 2.26.2