diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2012-10-04 19:57:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-21 09:32:42 -0700 |
commit | 724373bd489eb02e1999e2714fcc00658e081a9b (patch) | |
tree | a7523b88aba9bf57b4d5038402935ca75ae8b67e /fs | |
parent | 47b401b98b81ae1495a84f00f1d6b88316310da9 (diff) |
fs: handle failed audit_log_start properly
commit d1c7d97ad58836affde6e39980b96527510b572e upstream.
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>
Cc: Dave Jones <davej@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions