linux_dsm_epyc7002/net/sunrpc/auth_gss
J. Bruce Fields d4a30e7e66 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>
2006-04-19 12:43:46 -04:00
..
auth_gss.c SUNRPC: Ensure that rpc_mkpipe returns a refcounted dentry 2006-03-20 13:44:09 -05:00
gss_generic_token.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gss_krb5_crypto.c RPCSEC_GSS: fix leak in krb5 code caused by superfluous kmalloc 2006-04-19 12:43:46 -04:00
gss_krb5_mech.c SUNRPC: Make krb5 report unsupported encryption types 2006-01-06 14:59:00 -05:00
gss_krb5_seal.c SUNRPC,RPCSEC_GSS: fix krb5 sequence numbers. 2006-03-20 23:24:04 -05:00
gss_krb5_seqnum.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gss_krb5_unseal.c SUNRPC,RPCSEC_GSS: remove unnecessary kmalloc of a checksum 2006-03-20 23:23:11 -05:00
gss_krb5_wrap.c SUNRPC,RPCSEC_GSS: fix krb5 sequence numbers. 2006-03-20 23:24:04 -05:00
gss_mech_switch.c [NET]: kfree cleanup 2005-11-08 09:41:34 -08:00
gss_spkm3_mech.c SUNRPC,RPCSEC_GSS: spkm3: import contexts using NID_cast5_cbc 2006-03-20 23:24:40 -05:00
gss_spkm3_seal.c SUNRPC,RPCSEC_GSS: remove unnecessary kmalloc of a checksum 2006-03-20 23:23:11 -05:00
gss_spkm3_token.c SUNRPC: Update the spkm3 code to use the make_checksum interface 2006-01-06 14:58:59 -05:00
gss_spkm3_unseal.c SUNRPC,RPCSEC_GSS: remove unnecessary kmalloc of a checksum 2006-03-20 23:23:11 -05:00
Makefile RPCSEC_GSS: Add support for privacy to krb5 rpcsec_gss mechanism. 2005-10-18 23:19:46 -07:00
svcauth_gss.c [PATCH] knfsd: svcrpc: gss: don't call svc_take_page unnecessarily 2006-04-11 06:18:52 -07:00