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

Release Lock Before Panicking #12464

Merged
merged 2 commits into from
May 25, 2023
Merged

Release Lock Before Panicking #12464

merged 2 commits into from
May 25, 2023

Conversation

nisdas
Copy link
Member

@nisdas nisdas commented May 25, 2023

What type of PR is this?

Bug Fix

What does this PR do? Why is it needed?

In the event we recover a feed which has had a panic triggered on it, a subsequent send on it will trigger a deadlock. This
PR releases the lock before triggering the panic and adds in a regression test for it.

Which issues(s) does this PR fix?

Found in the TOB Audit: TOB-PRYSM-7

Other notes for review

@nisdas nisdas requested a review from a team as a code owner May 25, 2023 09:05
Co-authored-by: Sammy Rosso <15244892+saolyn@users.noreply.github.com>
@terencechain terencechain merged commit 52da7b3 into develop May 25, 2023
@terencechain terencechain deleted the unlockBeforePanicking branch May 25, 2023 13:42
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.

3 participants