Skip to content

Fix access without lock in active_transactions::confirm_block function#4230

Merged
thsfs merged 1 commit intonanocurrency:developfrom
thsfs:fix-use-after-free-issue-on-active_transactions-confirm_block
May 10, 2023
Merged

Fix access without lock in active_transactions::confirm_block function#4230
thsfs merged 1 commit intonanocurrency:developfrom
thsfs:fix-use-after-free-issue-on-active_transactions-confirm_block

Conversation

@thsfs
Copy link
Copy Markdown
Contributor

@thsfs thsfs commented May 10, 2023

Fixes access to blocks' unordered_map in active_transactions out of its mutex lock.

@thsfs thsfs added the bug label May 10, 2023
@thsfs thsfs added this to the V25.0 milestone May 10, 2023
@thsfs thsfs requested a review from clemahieu May 10, 2023 17:16
@thsfs thsfs force-pushed the fix-use-after-free-issue-on-active_transactions-confirm_block branch from 5f9b768 to 5390459 Compare May 10, 2023 17:28
@thsfs thsfs merged commit 929ff52 into nanocurrency:develop May 10, 2023
@thsfs thsfs deleted the fix-use-after-free-issue-on-active_transactions-confirm_block branch May 10, 2023 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants