projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
afs: Fix a use after free in afs_xattr_get_acl()
[linux-2.6-microblaze.git]
/
fs
/
afs
/
xattr.c
diff --git
a/fs/afs/xattr.c
b/fs/afs/xattr.c
index
84f3c4f
..
38884d6
100644
(file)
--- a/
fs/afs/xattr.c
+++ b/
fs/afs/xattr.c
@@
-85,7
+85,7
@@
static int afs_xattr_get_acl(const struct xattr_handler *handler,
if (acl->size <= size)
memcpy(buffer, acl->data, acl->size);
else
-
op->error
= -ERANGE;
+
ret
= -ERANGE;
}
}