]> Git Repo - linux.git/commit
fs: handle failed audit_log_start properly
authorSasha Levin <[email protected]>
Thu, 4 Oct 2012 23:57:31 +0000 (19:57 -0400)
committerAl Viro <[email protected]>
Wed, 10 Oct 2012 03:33:37 +0000 (23:33 -0400)
commitd1c7d97ad58836affde6e39980b96527510b572e
tree4020ac7f88154d5dd919fdf371472ea9153a656e
parentffd8d101a3a7d3f2e79deee1e342801703b6dc70
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 <[email protected]>
Signed-off-by: Al Viro <[email protected]>
kernel/audit.c
This page took 0.052039 seconds and 4 git commands to generate.