diff options
author | J. Bruce Fields <bfields@fieldses.org> | 2006-04-18 13:14:02 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2006-04-19 12:43:46 -0400 |
commit | d4a30e7e66c004da26dfe5229af7c10fe9853a7a (patch) | |
tree | 87f23ec83c3069a5562e73f883d1367d2f37ba51 /crypto/twofish.c | |
parent | 8bbde0e6d52265158ee9625f383500c1a7d09ba9 (diff) |
RPCSEC_GSS: fix leak in krb5 code caused by superfluous kmalloc
I was sloppy when generating a previous patch; I modified the callers of
krb5_make_checksum() to allocate memory for the buffer where the result is
returned, then forgot to modify krb5_make_checksum to stop allocating that
memory itself. The result is a per-packet memory leak. This fixes the
problem by removing the now-superfluous kmalloc().
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'crypto/twofish.c')
0 files changed, 0 insertions, 0 deletions