summaryrefslogtreecommitdiffstats
path: root/fs/file.c
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2012-10-05 01:57:31 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-10-10 05:33:37 +0200
commitd1c7d97ad58836affde6e39980b96527510b572e (patch)
tree4020ac7f88154d5dd919fdf371472ea9153a656e /fs/file.c
parentfs: prevent use after free in auditing when symlink following was denied (diff)
downloadlinux-d1c7d97ad58836affde6e39980b96527510b572e.tar.xz
linux-d1c7d97ad58836affde6e39980b96527510b572e.zip
fs: handle failed audit_log_start properly
audit_log_start() may return NULL, this is unchecked by the caller in audit_log_link_denied() and could cause a NULL ptr deref. Introduced by commit a51d9eaa ("fs: add link restriction audit reporting"). Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/file.c')
0 files changed, 0 insertions, 0 deletions