An error occurred while fetching folder content.
ecryptfs: avoid ctx initialization race
Kees Cook authored

It might be possible for two callers to race the mutex lock after the
NULL ctx check. Instead, move the lock above the check so there isn't
the possibility of leaking a crypto ctx. Additionally, report the full
algo name when failing.
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
[tyhicks: remove out label, which is no longer used]
Signed-off-by: default avatarTyler Hicks <tyhicks@canonical.com>
cb69f36b
Name Last commit Last update