+1
−0
Loading
aa_dfa_unpack returns ERR_PTR not NULL when it fails, but aa_put_dfa only checks NULL for its input, which would cause invalid memory access in aa_put_dfa. Set nulldfa to NULL explicitly to fix that. Fixes: 98b824ff ("apparmor: refcount the pdb") Signed-off-by:GONG Ruiqi <gongruiqi1@huawei.com> Signed-off-by:
John Johansen <john.johansen@canonical.com>