summaryrefslogtreecommitdiffstats
path: root/include/xen/tmem.h
diff options
context:
space:
mode:
authorAndreas Gruenbacher <agruenba@redhat.com>2016-05-09 13:28:49 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2016-05-25 23:33:47 +0200
commitaaf431b4f92152d46ab54079692633aa422262b1 (patch)
tree459a45a5dbd76d3698535f76e6be0f8981354070 /include/xen/tmem.h
parentbtrfs: Switch to generic xattr handlers (diff)
downloadlinux-aaf431b4f92152d46ab54079692633aa422262b1.tar.xz
linux-aaf431b4f92152d46ab54079692633aa422262b1.zip
xattr: Fail with -EINVAL for NULL attribute names
Commit 98e9cb57 improved the xattr name checks in xattr_resolve_name but didn't update the NULL attribute name check appropriately, so NULL attribute names lead to NULL pointer dereferences. Turn that into -EINVAL results instead. Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> fs/xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/xen/tmem.h')
0 files changed, 0 insertions, 0 deletions