mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
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>
This commit is contained in:
parent
dc43376c26
commit
743e217129
@ -328,7 +328,6 @@ void gssp_free_upcall_data(struct gssp_upcall_data *data)
|
|||||||
kfree(data->in_handle.data);
|
kfree(data->in_handle.data);
|
||||||
kfree(data->out_handle.data);
|
kfree(data->out_handle.data);
|
||||||
kfree(data->out_token.data);
|
kfree(data->out_token.data);
|
||||||
kfree(data->mech_oid.data);
|
|
||||||
free_svc_cred(&data->creds);
|
free_svc_cred(&data->creds);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user