commit | c73aa4102f5b9f261a907c3b3df94cd2c478504d | [log] [tgz] |
---|---|---|
author | David Howells <dhowells@redhat.com> | Wed May 01 13:27:09 2019 +0100 |
committer | David Howells <dhowells@redhat.com> | Tue May 07 16:48:44 2019 +0100 |
tree | 52c5ac7f76e40fca82725f7443aea6cf5288c38c | |
parent | c0abbb5791f1984350f1dac72c31c67010010a30 [diff] |
afs: Fix the afs.cell and afs.volume xattr handlers Fix the ->get handlers for the afs.cell and afs.volume xattrs to pass the source data size to memcpy() rather than target buffer size. Overcopying the source data occasionally causes the kernel to oops. Fixes: d3e3b7eac886 ("afs: Add metadata xattrs") Signed-off-by: David Howells <dhowells@redhat.com>