+2000-02-07 Scott McGuire <smcguire@mit.edu>
+
+ * changepw.c (krb5_locate_kpasswd): fixed memory trashing
+ caused by incorrect pointer arithmetic when assigning
+ DEFAULT_KPASSWD_PORT in DNS code also.
+
2000-02-04 Scott McGuire <smcguire@mit.edu>
* changepw.c (krb5_locate_kpasswd): fixed memory trashing
/* success with admin_server but now we need to change the port */
/* number to use DEFAULT_KPASSWD_PORT. */
for ( i=0;i<*naddrs;i++ ) {
- struct sockaddr_in *sin = (struct sockaddr_in *) &(*addr_pp)[i];
+ struct sockaddr_in *sin = (struct sockaddr_in *) addr_pp[i];
sin->sin_port = htons(DEFAULT_KPASSWD_PORT);
}
}