Skip to content

Fix potential race condition#479

Merged
sergio-correia merged 1 commit intolatchset:masterfrom
sarroutbi:202409271212-resolve-guard-lock-potential-race-condition
Oct 7, 2024
Merged

Fix potential race condition#479
sergio-correia merged 1 commit intolatchset:masterfrom
sarroutbi:202409271212-resolve-guard-lock-potential-race-condition

Conversation

@sarroutbi
Copy link
Copy Markdown
Collaborator

@sarroutbi sarroutbi commented Sep 27, 2024

Guard the modification of "entry_counter" and the read used to decide whether to modify "entry_counter" with the same set of locks

Resolves: #478

Guard the modification of "entry_counter" and the read
used to decide whether to modify "entry_counter" with the
same set of locks

Resolves: latchset#478

Signed-off-by: Sergio Arroutbi <sarroutb@redhat.com>
@sarroutbi sarroutbi force-pushed the 202409271212-resolve-guard-lock-potential-race-condition branch from a3d9f6f to 5feea5d Compare September 27, 2024 10:19
@sergio-correia sergio-correia merged commit 17a2063 into latchset:master Oct 7, 2024
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.

PKCS#11: Multi-thread lock evasion issue detected on clevis-pkcs11-afunix-socket-unlock.c

2 participants