summaryrefslogtreecommitdiffstats
path: root/fs/ext3/xattr.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2012-04-04 19:46:36 +0200
committerEric Paris <eparis@redhat.com>2012-04-09 18:22:56 +0200
commitbb7081ab93582fd2557160549854200a5fc7b42a (patch)
treefa95a4c7f31d7f3f06d38eab68fcdd19da102e82 /fs/ext3/xattr.c
parentSELinux: audit failed attempts to set invalid labels (diff)
downloadlinux-bb7081ab93582fd2557160549854200a5fc7b42a.tar.xz
linux-bb7081ab93582fd2557160549854200a5fc7b42a.zip
SELinux: possible NULL deref in context_struct_to_string
It's possible that the caller passed a NULL for scontext. However if this is a defered mapping we might still attempt to call *scontext=kstrdup(). This is bad. Instead just return the len. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'fs/ext3/xattr.c')
0 files changed, 0 insertions, 0 deletions