Chuck Lever ce4a99ac90 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>
2018-12-13 09:20:28 +01:00
..
2018-05-16 10:08:44 +02:00
2018-04-13 19:48:29 +02:00
2018-12-01 09:44:19 +01:00
2016-10-20 11:23:08 -04:00
2018-11-10 07:42:58 -08:00