Skip to content

Fix potential deadlock in FieldMap.GetTime - #776

Open
smulube wants to merge 1 commit into
quickfixgo:mainfrom
appital:gettime-potential-deadlock
Open

Fix potential deadlock in FieldMap.GetTime#776
smulube wants to merge 1 commit into
quickfixgo:mainfrom
appital:gettime-potential-deadlock

Conversation

@smulube

@smulube smulube commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

In FieldMap.GetTime the code took an RLock(), then called GetBytes() which attempted to RLock the mutex again. This could lead to potential deadlock so here we swap out that call for the existing getBytesNoLock method which appears to be exactly for this purpose.

In FieldMap.GetTime the code took an RLock(), then called GetBytes()
which attempted to RLock the mutex again. This could lead to potential
deadlock so here we swap out that call for the existing getBytesNoLock
method which appears to be exactly for this purpose.
@smulube
smulube marked this pull request as ready for review September 6, 2026 23:41
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.

1 participant