Bug#567708: openssh: FTPFS with heimdal < 1.3.0
Simon Wilkinson <simon@sxw.org.uk> writes:
> I'll fix this upstream, I think the best thing to do is to have a
> configure test for krb5_free_unparsed_name, and use krb5_xfree if it's
> not available.
> However, I'm a little concerned that when Love added the new function,
> he's marked it deprecated. I've emailed him to find out if there's
> something that should be used instead.
I suspect it's deprecated just because Heimdal has a different memory
management API technique than MIT Kerberos. MIT adds free functions for
every type of allocated memory, whereas Heimdal collects the random simple
frees into krb5_xfree, which simplifies the interface somewhat. If you're
writing solely to Heimdal's API, there's no reason to use the more
specific function.
--
Russ Allbery (rra@debian.org) <http://www.eyrie.org/~eagle/>
Reply to: