Please sign in to comment.
IMA: update ima_counts_put
- As ima_counts_put() may be called after the inode has been freed, verify that the inode is not NULL, before dereferencing it. - Maintain the IMA file counters in may_open() properly, decrementing any counter increments on subsequent errors. Reported-by: Ciprian Docan <email@example.com> Reported-by: J.R. Okajima <firstname.lastname@example.org> Signed-off-by: Mimi Zohar <email@example.com> Acked-by: Eric Paris <firstname.lastname@example.org Signed-off-by: James Morris <email@example.com>
- Loading branch information...
Showing with 20 additions and 8 deletions.