diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-08-24 16:59:25 +0200 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-09-04 20:52:43 +0200 |
commit | 21f498c2f73bd6150d82931f09965826dca0b5f2 (patch) | |
tree | 40885b9d8d338c4f1890f384ad2894f465163e91 /include | |
parent | NFS: Fix a problem with the legacy binary mount code (diff) | |
download | linux-21f498c2f73bd6150d82931f09965826dca0b5f2.tar.xz linux-21f498c2f73bd6150d82931f09965826dca0b5f2.zip |
NFSv4: Fix range checking in __nfs4_get_acl_uncached and __nfs4_proc_set_acl
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions