summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3_fs.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-02-11 23:27:55 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-02-12 01:02:51 +0100
commitd8ba1f971497c19cf80da1ea5391a46a5f9fbd41 (patch)
tree42028cf8afc20ecb15740a60300b4b5274cc4b8a /fs/nfs/nfs3_fs.h
parentSUNRPC: Cleanup to remove xs_tcp_close() (diff)
downloadlinux-d8ba1f971497c19cf80da1ea5391a46a5f9fbd41.tar.xz
linux-d8ba1f971497c19cf80da1ea5391a46a5f9fbd41.zip
NFSv4.1: Fix a kfree() of uninitialised pointers in decode_cb_sequence_args
If the call to decode_rc_list() fails due to a memory allocation error, then we need to truncate the array size to ensure that we only call kfree() on those pointer that were allocated. Reported-by: David Ramos <daramos@stanford.edu> Fixes: 4aece6a19cf7f ("nfs41: cb_sequence xdr implementation") Cc: stable@vger.kernel.org Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs3_fs.h')
0 files changed, 0 insertions, 0 deletions