Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds missing unlock of RWMutex in OIDC delete key #12916

Merged
merged 2 commits into from Oct 25, 2021

Conversation

austingebauer
Copy link
Member

This PR adds missing calls to Unlock() in error handling blocks of pathOIDCDeleteKey(). This ensures that other goroutines can eventually acquire the lock after the errors occur.

Note that I'm adding a changelog entry to this PR because the bug was partially released in 1.8.1 (see identity_store_oidc.go#L635-L638). I plan to backport this into release/1.8.x and remove the OIDC provider related call to clientNamesReferencingTargetKeyName().

@vercel vercel bot temporarily deployed to Preview – vault-storybook October 25, 2021 06:34 Inactive
@vercel vercel bot temporarily deployed to Preview – vault October 25, 2021 06:34 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants