Skip to content

[P2P] Add missing lock in CAddrMan::Clear()#2028

Merged
random-zebra merged 1 commit intoPIVX-Project:masterfrom
random-zebra:202011_addrman-clear-lock
Dec 5, 2020
Merged

[P2P] Add missing lock in CAddrMan::Clear()#2028
random-zebra merged 1 commit intoPIVX-Project:masterfrom
random-zebra:202011_addrman-clear-lock

Conversation

@random-zebra
Copy link

Straightforward cherry-pick from bitcoin#11585

The variable vRandom is guarded by the mutex cs.
@random-zebra random-zebra added this to the 5.0.0 milestone Dec 5, 2020
@random-zebra random-zebra self-assigned this Dec 5, 2020
Copy link

@furszy furszy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 87e33eb

Copy link
Collaborator

@Fuzzbawls Fuzzbawls left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK 87e33eb

@random-zebra random-zebra merged commit 007359a into PIVX-Project:master Dec 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants