]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix minor leak in localauth RULE handling 795/head
authorGreg Hudson <ghudson@mit.edu>
Fri, 15 Jun 2018 15:52:22 +0000 (11:52 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 19 Jun 2018 14:38:29 +0000 (10:38 -0400)
commitdbc2ccd6d9ff546e2f4af54898c952ffa4eebf44
tree13dcab79f15485ad8f42f23516ce9cd2e6801a29
parent0f1ebd3dc612a58e2e3a019ab97965369a354e59
Fix minor leak in localauth RULE handling

In aname_replacer(), initialize current, null it when transferring
ownership to the caller, and free it on cleanup.  Otherwise it leaks
on failure.  Reported by Bean Zhang.

ticket: 8698
src/lib/krb5/os/localauth_rule.c