summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth.c
diff options
context:
space:
mode:
authorBenjamin Coddington2016-04-06 17:32:52 +0200
committerAnna Schumaker2016-05-09 15:05:40 +0200
commit06ef26a0e35199cc0445d7d5708533a12af8ff5b (patch)
treed106311ccb86ee0ae30aeaf05565861f5d636017 /net/sunrpc/auth.c
parentNFS: Save struct inode * inside nfs_commit_info to clarify usage of i_lock (diff)
downloadkernel-qcow2-linux-06ef26a0e35199cc0445d7d5708533a12af8ff5b.tar.gz
kernel-qcow2-linux-06ef26a0e35199cc0445d7d5708533a12af8ff5b.tar.xz
kernel-qcow2-linux-06ef26a0e35199cc0445d7d5708533a12af8ff5b.zip
SUNRPC: init xdr_stream for zero iov_len, page_len
An xdr_buf with head[0].iov_len = 0 and page_len = 0 will cause xdr_init_decode() to incorrectly setup the xdr_stream. Specifically, xdr->end is never initialized. Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'net/sunrpc/auth.c')
0 files changed, 0 insertions, 0 deletions