git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
872ece8
)
NFSv4: Fix range checking in __nfs4_get_acl_uncached and __nfs4_proc_set_acl
author
Trond Myklebust
<Trond.Myklebust@netapp.com>
Fri, 24 Aug 2012 14:59:25 +0000
(10:59 -0400)
committer
Trond Myklebust
<Trond.Myklebust@netapp.com>
Tue, 4 Sep 2012 18:52:43 +0000
(14:52 -0400)
Ensure that the user supplied buffer size doesn't cause us to overflow
the 'pages' array.
Also fix up some confusion between the use of PAGE_SIZE and
PAGE_CACHE_SIZE when calculating buffer sizes. We're not using
the page cache for anything here.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/nfs4proc.c
patch
|
blob
|
history
diff --cc
fs/nfs/nfs4proc.c
Simple merge