From: Sasha Levin Date: Thu, 4 Oct 2012 23:57:31 +0000 (-0400) Subject: fs: handle failed audit_log_start properly X-Git-Tag: v3.7-rc1~42^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1c7d97ad58836affde6e39980b96527510b572e;p=pandora-kernel.git 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 Signed-off-by: Al Viro --- Reading git-diff-tree failed