[322] in Kerberos_V5_Development
Re: Extension to krb5_unparse_name
daemon@ATHENA.MIT.EDU (John T Kohl)
Fri Oct 12 10:43:46 1990
Date: Fri, 12 Oct 90 10:43:04 -0400
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: tytso@ATHENA.MIT.EDU
Cc: krbdev@ATHENA.MIT.EDU
In-Reply-To: Theodore Ts'o's message of Thu, 11 Oct 90 12:09:58 -0400,
In general, I don't object to the interface, but having the library
realloc() stuff sounds a bit on the risky side. The other library
routines all either fill in stuff, or allocate it themselves and provide
a routine to deallocate.
Perhaps it could return an error saying "size not big enough" and update
*size to be the necessary size, then the caller can expand the space and
try again?
John