From 0c683941644a468ad53291cd83b0d23f5c6ad9c7 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 22 Jun 2010 12:52:03 +0000 Subject: [PATCH] In kprop's sockaddr2krbaddr(), fill in addr.magic to avoid copying around uninitialized values. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24143 dc483132-0cff-0310-8789-dd5450dbe970 --- src/slave/kprop_sock.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/slave/kprop_sock.c b/src/slave/kprop_sock.c index 54479c9a4..480f1ef47 100644 --- 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; -- 2.26.2