projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc43376
)
svcrpc: fix kfree oops in gss-proxy code
author
J. Bruce Fields
<bfields@redhat.com>
Wed, 31 Jul 2013 18:11:14 +0000
(14:11 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Thu, 1 Aug 2013 12:41:29 +0000
(08:41 -0400)
mech_oid.data is an array, not kmalloc()'d memory.
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/auth_gss/gss_rpc_upcall.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/auth_gss/gss_rpc_upcall.c
b/net/sunrpc/auth_gss/gss_rpc_upcall.c
index 1e1ccf539faca398ff69a327bb797c2fb2d1671b..af7ffd447fee2af42a642c3e608536a8459ecbe5 100644
(file)
--- 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)
kfree(data->in_handle.data);
kfree(data->out_handle.data);
kfree(data->out_token.data);
- kfree(data->mech_oid.data);
free_svc_cred(&data->creds);
}