mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
- 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 protected]> Reported-by: J.R. Okajima <[email protected]> Signed-off-by: Mimi Zohar <[email protected]> Acked-by: Eric Paris <[email protected] Signed-off-by: James Morris <[email protected]>