svn rev #24143: trunk/src/slave/

ghudson@MIT.EDU ghudson at MIT.EDU
Tue Jun 22 08:52:03 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24143
Commit By: ghudson
Log Message:
In kprop's sockaddr2krbaddr(), fill in addr.magic to avoid copying
around uninitialized values.



Changed Files:
U   trunk/src/slave/kprop_sock.c
Modified: trunk/src/slave/kprop_sock.c
===================================================================
--- trunk/src/slave/kprop_sock.c	2010-06-21 20:29:12 UTC (rev 24142)
+++ trunk/src/slave/kprop_sock.c	2010-06-22 12:52:03 UTC (rev 24143)
@@ -46,6 +46,7 @@
 {
     krb5_address addr;
 
+    addr.magic = KV5M_ADDRESS;
     if (family == AF_INET) {
 	struct sockaddr_in *sa4 = (struct sockaddr_in *) sa;
 	addr.addrtype = ADDRTYPE_INET;




More information about the cvs-krb5 mailing list