]> 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)
committerTom Yu <tlyu@mit.edu>
Wed, 16 Sep 2015 21:24:24 +0000 (17:24 -0400)
commit721e80d6deece5ed6d7b2c1a160105830bf45b4b
tree6d4de50b2c4015d7e09753cc0e4963660e3adb14
parent5250332e15a873d8e5a2ec6e7bc1f82d337b9081
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]

(cherry picked from commit 3aa8506ee9e1f564e3f396eed5ac5616d7c54b34)

ticket: 8239
version_fixed: 1.13.3
status: resolved
src/lib/krb5/krb/rd_req_dec.c