Possible memory leak in util_canonhost.c (g_canonicalize_host)?

Greg Hudson ghudson at MIT.EDU
Thu Aug 12 10:20:12 EDT 2010


On Thu, 2010-08-12 at 06:06 -0400, Markus Sander wrote:
> I think src/lib/gssapi/generic/util_canonhost.c (g_canonicalize_host)
> leaks the memory of buffer `haddr' if `gethostbyaddr' fails to resolve.

Yes, but that source file hasn't been compiled since krb5 1.2, and
g_canonicalize_host hasn't been used in any version of Kerberos I
checked.  I'll remove the file.





More information about the krbdev mailing list