]> Git Repo - linux.git/commit
audit: fix possible null-pointer dereference in audit_filter_rules
authorGaosheng Cui <[email protected]>
Sat, 16 Oct 2021 07:23:50 +0000 (15:23 +0800)
committerPaul Moore <[email protected]>
Mon, 18 Oct 2021 22:27:47 +0000 (18:27 -0400)
commit6e3ee990c90494561921c756481d0e2125d8b895
treea51a15f661eca61335799a2bc4b898a6720e454c
parent67d69e9d1a6c889d98951c1d74b19332ce0565af
audit: fix possible null-pointer dereference in audit_filter_rules

Fix  possible null-pointer dereference in audit_filter_rules.

audit_filter_rules() error: we previously assumed 'ctx' could be null

Cc: [email protected]
Fixes: bf361231c295 ("audit: add saddr_fam filter field")
Reported-by: kernel test robot <[email protected]>
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Gaosheng Cui <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
kernel/auditsc.c
This page took 0.057227 seconds and 4 git commands to generate.