Commit 7b36b789 authored by J. Bruce Fields's avatar J. Bruce Fields Committed by Greg Kroah-Hartman

svcrpc: fix kfree oops in gss-proxy code

commit 743e2171 upstream.

mech_oid.data is an array, not kmalloc()'d memory.
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 43110b3d
......@@ -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);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment