From 116a617114174020e85340b0a74e9aba8de2b737 Mon Sep 17 00:00:00 2001 From: Tom Yu Date: Sun, 25 Jun 2006 14:47:29 +0000 Subject: [PATCH] pull up r18175 from trunk r18175@cathode-dark-space: rra | 2006-06-20 17:45:16 -0400 Ticket: 581 Version_Reported: 1.0.5 Target_Version: 1.5 Tags: pullup 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_fixed: 1.5 git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-5@18211 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