diff options
| author | Chuck Lever <chuck.lever@oracle.com> | 2018-11-30 15:39:57 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-12-13 09:21:36 +0100 |
| commit | 5f3c652e0f8c943c93f130cdcf05032b4d92ac37 (patch) | |
| tree | 7e392271f7f85ee0189f13cc8f7cea2fe496f1e4 /lib/test-string_helpers.c | |
| parent | e32c7473a4061646da3f192635bcf7cab15b1364 (diff) | |
SUNRPC: Fix leak of krb5p encode pages
commit 8dae5398ab1ac107b1517e8195ed043d5f422bd0 upstream.
call_encode can be invoked more than once per RPC call. Ensure that
each call to gss_wrap_req_priv does not overwrite pointers to
previously allocated memory.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Cc: stable@kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions
