Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 21f498c2 authored by Trond Myklebust's avatar Trond Myklebust
Browse files

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: default avatarTrond Myklebust <Trond.Myklebust@netapp.com>
parent 872ece86
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment