diff options
author | J. Bruce Fields <bfields@redhat.com> | 2013-07-31 14:11:14 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-08-01 08:41:29 -0400 |
commit | 743e217129f69aab074abe520a464fd0c6b1cca1 (patch) | |
tree | dd16ed4a1048cf68e02513d2937ab72aae0d79ee /net/sunrpc/auth_gss | |
parent | dc43376c26cef74226174a2394f37f2a3f8a8639 (diff) |
svcrpc: fix kfree oops in gss-proxy code
mech_oid.data is an array, not kmalloc()'d memory.
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'net/sunrpc/auth_gss')
-rw-r--r-- | net/sunrpc/auth_gss/gss_rpc_upcall.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sunrpc/auth_gss/gss_rpc_upcall.c b/net/sunrpc/auth_gss/gss_rpc_upcall.c index 1e1ccf539fac..af7ffd447fee 100644 --- a/net/sunrpc/auth_gss/gss_rpc_upcall.c +++ b/net/sunrpc/auth_gss/gss_rpc_upcall.c | |||
@@ -328,7 +328,6 @@ void gssp_free_upcall_data(struct gssp_upcall_data *data) | |||
328 | kfree(data->in_handle.data); | 328 | kfree(data->in_handle.data); |
329 | kfree(data->out_handle.data); | 329 | kfree(data->out_handle.data); |
330 | kfree(data->out_token.data); | 330 | kfree(data->out_token.data); |
331 | kfree(data->mech_oid.data); | ||
332 | free_svc_cred(&data->creds); | 331 | free_svc_cred(&data->creds); |
333 | } | 332 | } |
334 | 333 | ||