of piece->data.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5658
dc483132-0cff-0310-8789-
dd5450dbe970
Sat Apr 29 00:09:40 1995 Theodore Y. Ts'o <tytso@dcl>
+ * srv_rcache.c (krb5_get_server_rcache): Fix fencepost error which
+ caused an access beyond the allocated memory of piece->data.
+
* rd_priv.c (krb5_rd_priv_basic): Call krb5_free_priv_enc_part to free
the entire privenc_msg structure.
if (retval) goto cleanup;
len = piece->length + 3 + 1;
- for (i = 0; i <= piece->length; i++) {
+ for (i = 0; i < piece->length; i++) {
if (piece->data[i] == '\\')
len++;
else if (!isgraph(piece->data[i]))