projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec0105a
)
In kprop's sockaddr2krbaddr(), fill in addr.magic to avoid copying
author
Greg Hudson
<ghudson@mit.edu>
Tue, 22 Jun 2010 12:52:03 +0000
(12:52 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Tue, 22 Jun 2010 12:52:03 +0000
(12:52 +0000)
around uninitialized values.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24143
dc483132
-0cff-0310-8789-
dd5450dbe970
src/slave/kprop_sock.c
patch
|
blob
|
history
diff --git
a/src/slave/kprop_sock.c
b/src/slave/kprop_sock.c
index 54479c9a4f4e9df2aaeeccd57ea3c8de8a4b2b2e..480f1ef478d49c6478221d1be32dd52a2162852f 100644
(file)
--- a/
src/slave/kprop_sock.c
+++ b/
src/slave/kprop_sock.c
@@
-46,6
+46,7
@@
sockaddr2krbaddr(krb5_context context, int family, struct sockaddr *sa,
{
krb5_address addr;
+ addr.magic = KV5M_ADDRESS;
if (family == AF_INET) {
struct sockaddr_in *sa4 = (struct sockaddr_in *) sa;
addr.addrtype = ADDRTYPE_INET;