svcrpc: fix kfree oops in gss-proxy code
commit 743e217129f69aab074abe520a464fd0c6b1cca1 upstream. mech_oid.data is an array, not kmalloc()'d memory. Signed-off-by: J. Bruce Fields <bfields@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
43110b3d90
commit
7b36b78945
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue