summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2012-06-21 04:35:05 +0200
committerTrond Myklebust <Trond.Myklebust@netapp.com>2012-06-28 23:20:43 +0200
commit64bd577ea0021f5903505de061b3b7d8a785ee94 (patch)
tree7081480d903325bb82d2384b69cff4579f289de1 /include
parentSUNRPC: xdr_read_pages should return the amount of XDR encoded page data (diff)
downloadlinux-64bd577ea0021f5903505de061b3b7d8a785ee94.tar.xz
linux-64bd577ea0021f5903505de061b3b7d8a785ee94.zip
NFS: Let xdr_read_pages() check for buffer overflows
xdr_read_pages will already do all of the buffer overflow checks that are currently being open-coded in the various callers. This patch simplifies the existing code by replacing the open coded checks. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions