encpart.s_address before calling krb5_address_compare. Fixes
krb5-libs/456.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10166
dc483132-0cff-0310-8789-
dd5450dbe970
+Fri Aug 8 17:04:54 1997 Tom Yu <tlyu@mit.edu>
+
+ * rd_cred.c (krb5_rd_cred_basic): Check remote_addr and
+ encpart.s_address before calling krb5_address_compare. Fixes
+ krb5-libs/456.
+
Fri Jul 25 15:25:32 1997 Tom Yu <tlyu@mit.edu>
* t_ser.c: Add support for changed kdb API.
* protected by encryption. If it came in the checksum field of
* an init_sec_context message, skip over this check.
*/
- if (pkeyblock != NULL) {
+ if (remote_addr && encpart.s_address && pkeyblock != NULL) {
if (!krb5_address_compare(context, remote_addr, encpart.s_address)) {
retval = KRB5KRB_AP_ERR_BADADDR;
goto cleanup_cred;