purify happy.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6782
dc483132-0cff-0310-8789-
dd5450dbe970
+Wed Sep 13 17:32:36 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * c_localaddr.c (krb5_crypto_os_localaddr): Clear the buffer
+ before calling the SIOCGIFCONF ioctl. This makes purify
+ happy.
+
Thu Sep 7 12:00:00 1995 James Mattly <mattly@fusion.com>
* Renamed ustime.c to c_ustime.c
int n_found;
int mem_err = 0;
+ memset(buf, 0, sizeof(buf));
ifc.ifc_len = sizeof(buf);
ifc.ifc_buf = buf;
-
+
s = socket (USE_AF, USE_TYPE, USE_PROTO);
if (s < 0)
return errno;