Content-Type: text/html; charset="gb2312"
Content-Transfer-Encoding: quoted-printable
X-RT-Original-Encoding: gb2312
Content-Length: 850
Hi Team,
aname_replacer() in krb5-1.16.1/src/lib/krb5/os/localauth_rule.c
assigns a allocated memory by calling strdup() to pointer current,
later if runs into any "goto cleanup", the allocated momory
"current" points to will not be freed when leaves this function.
The fix is to call free(current) before "goto cleanup".
Could someone help to take a look?
Thanks,
Bean