[4507] in Athena Bugs
vax 6.4R: Keberos routine kname_parse does not zero return args
daemon@ATHENA.MIT.EDU (Ezra Peisach)
Mon Mar 12 13:55:25 1990
To: bugs@ATHENA.MIT.EDU
Date: Mon, 12 Mar 90 13:55:12 EST
From: Ezra Peisach <epeisach@ATHENA.MIT.EDU>
System name: medusa
Type and version: CVAXSTAR 6.4R (2 update(s) to same version)
Display type: SM
What were you trying to do?
Use the routine kname_parse in the kerberos library to parse a
kerberos username.
What's wrong:
If you wish to parse a string like "epeisach", the instance and
realm return fields return with whatever was in them instead of a null
terminated empty string.
What should have happened:
The first character of all return strings should be zeroed before
parsing or the sources should warn of the side affect.
Please describe any relevant documentation references:
There is no man page for this routine. I found it in kinit...
The source does not indicate that the user is responsible to
clear the strings before calling.