Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 a51d9ea ("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>
- Loading branch information