]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix krb5_rd_req() memory leak
authorNicolas Williams <nico@twosigma.com>
Tue, 1 Sep 2015 15:58:30 +0000 (11:58 -0400)
committerGreg Hudson <ghudson@mit.edu>
Mon, 14 Sep 2015 23:54:44 +0000 (19:54 -0400)
commit3aa8506ee9e1f564e3f396eed5ac5616d7c54b34
treedb6505728cb004077fd03cc2f951eff377623fa2
parent4f35b27a9ee38ca0b557ce8e6d059924a63d4eff
Fix krb5_rd_req() memory leak

In release 1.13, commit eba8c4909ec7ba0d7054d5d1b1061319e9970cc7
(ticket #7232) introduced a memory leak when skipping keytab entries
which do not match the application-provided server specification.  Fix
it by freeing the keytab entry before continuing the loop on a failure
to match.

[ghudson@mit.edu: commit message]

ticket: 8239 (new)
target_version: 1.13.3
tags: pullup
src/lib/krb5/krb/rd_req_dec.c