Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
eCryptfs: Fix redundant error check on ecryptfs_find_daemon_by_euid()
It is sufficient to check the return code of ecryptfs_find_daemon_by_euid(). If it returns 0, it always sets the daemon pointer to point to a valid ecryptfs_daemon. Signed-off-by: Tyler Hicks <[email protected]> Reported-by: Kees Cook <[email protected]>
- Loading branch information