projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b520491
)
In verify_krb_v4_tgt, use an unsigned KRB4_32 to store an address rather
author
Russ Allbery
<rra@stanford.edu>
Tue, 20 Jun 2006 21:45:16 +0000
(21:45 +0000)
committer
Russ Allbery
<rra@stanford.edu>
Tue, 20 Jun 2006 21:45:16 +0000
(21:45 +0000)
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
patch
|
blob
|
history
diff --git
a/src/appl/bsd/login.c
b/src/appl/bsd/login.c
index b49bababb7262f144a7eeeebfbb367c174dc40a9..a3cdef797c4ef7b834e57adf8624398a1818e722 100644
(file)
--- 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];