Other routines do not expect the null to be included in the length so
policy checks fail. Also, sending the null over the wire is wrong.
ticket: 1230
status: open
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14940
dc483132-0cff-0310-8789-
dd5450dbe970
+2002-10-27 Sam Hartman <hartmans@mit.edu>
+
+ * kdc_util.c (add_to_transited): Don't include trailing null in transited encoding length; doing so breaks using codee
+
2002-10-05 Tom Yu <tlyu@mit.edu>
* do_as_req.c (process_as_req): Apply fix from Kevin Coffman to
goto fail;
}
strcat(trans, current);
- new_trans->length = strlen(trans) + 1;
+ new_trans->length = strlen(trans);
strncpy(prev, exp, sizeof(prev) - 1);
prev[sizeof(prev) - 1] = '\0';
goto fail;
}
strcat(trans, realm);
- new_trans->length = strlen(trans) + 1;
+ new_trans->length = strlen(trans);
}
retval = 0;