diff options
author | Sven Wegener <[email protected]> | 2012-12-08 15:30:18 +0100 |
---|---|---|
committer | Trond Myklebust <[email protected]> | 2012-12-11 09:14:50 -0500 |
commit | 7d3e91a89b7adbc2831334def9e494dd9892f9af (patch) | |
tree | 7069dabbdabe013f21b56ea1641875ef4d5bb283 /tools/perf/scripts/python | |
parent | 4c1002100898d03c5c9142ffaf58351c841ab94a (diff) |
NFSv4: Check for buffer length in __nfs4_get_acl_uncached
Commit 1f1ea6c "NFSv4: Fix buffer overflow checking in
__nfs4_get_acl_uncached" accidently dropped the checking for too small
result buffer length.
If someone uses getxattr on "system.nfs4_acl" on an NFSv4 mount
supporting ACLs, the ACL has not been cached and the buffer suplied is
too short, we still copy the complete ACL, resulting in kernel and user
space memory corruption.
Signed-off-by: Sven Wegener <[email protected]>
Cc: [email protected]
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions