The gss_userok function in appl/ftp/ftpd/gss_userok.c in Heimdal 0.7.2 does not allocate memory for the ticketfile pointer before calling free, which allows remote attackers to have an unknown impact via an invalid username. NOTE: the vulnerability was originally reported for ftpd.c, but this is incorrect.
http://www.securityfocus.com/bid/26758
http://www.mandriva.com/security/advisories?name=MDKSA-2007:239
http://securitytracker.com/id?1019057