Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 743e2171 authored by J. Bruce Fields's avatar J. Bruce Fields
Browse files

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: default avatarJ. Bruce Fields <bfields@redhat.com>
parent dc43376c
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -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);
}
}