]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Fix a pipe_version reference leak
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 16 Feb 2014 18:28:01 +0000 (13:28 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 16 Feb 2014 18:28:01 +0000 (13:28 -0500)
commit3dc1bd4c0c1c1320252443f7a5f8410ffa4c7d07
treef7c1434c23fde65646c7c0a47498e06f94ba201a
parent68a18aea69a27ed20b14ace07c7561e5e303d43e
SUNRPC: Fix a pipe_version reference leak

In gss_alloc_msg(), if the call to gss_encode_v1_msg() fails, we
want to release the reference to the pipe_version that was obtained
earlier in the function.

Fixes: d484eb2cab116 (SUNRPC: Fix buffer overflow checking in...)
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
net/sunrpc/auth_gss/auth_gss.c