git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nfsd: fix buffer overrun decoding NFSv4 acl
[pandora-kernel.git]
/
fs
/
nfsd
/
nfs4acl.c
diff --git
a/fs/nfsd/nfs4acl.c
b/fs/nfsd/nfs4acl.c
index
b6ed383
..
54b8b41
100644
(file)
--- a/
fs/nfsd/nfs4acl.c
+++ b/
fs/nfsd/nfs4acl.c
@@
-443,7
+443,7
@@
init_state(struct posix_acl_state *state, int cnt)
* enough space for either:
*/
alloc = sizeof(struct posix_ace_state_array)
- + cnt*sizeof(struct posix_ace_state);
+ + cnt*sizeof(struct posix_
user_
ace_state);
state->users = kzalloc(alloc, GFP_KERNEL);
if (!state->users)
return -ENOMEM;