[875] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Kerberos 5-B4-pl3 bug report (lib/krb5/krb/srv_rcache.c)

daemon@ATHENA.MIT.EDU (Craig Leres)
Wed Oct 19 06:40:14 1994

To: krb5-bugs@MIT.EDU
Cc: hobbit@asylum.sf.ca.us
Date: Wed, 19 Oct 94 03:40:07 PDT
From: Craig Leres <leres@ee.lbl.gov>

I had found two bugs in this source; it looks like you already found
the missing EOS in krb5_get_server_rcache().

The other bug is a missing "continue" in the part of the loop that
translates unprintable characters. Without it, you copy the unprintable
character in addition to the octal representation.

		Craig
------
*** kerberosV.virgin/src/lib/krb5/krb/srv_rcache.c	Thu Sep 29 14:04:42 1994
--- kerberosV/src/lib/krb5/krb/srv_rcache.c	Wed Oct 19 03:32:27 1994
***************
*** 75,80 ****
--- 75,81 ----
  	    cachename[p++] = tmp[0];
  	    cachename[p++] = tmp[1];
  	    cachename[p++] = tmp[2];
+ 	    continue;
  	}
  	cachename[p++] = piece->data[i];
      }

home help back first fref pref prev next nref lref last post