Skip to content

Fix potential deadlock in FieldMap.GetTime - #776

Merged
michaelwilner merged 1 commit into
quickfixgo:mainfrom
appital:gettime-potential-deadlock
Sep 8, 2026
Merged

Fix potential deadlock in FieldMap.GetTime#776
michaelwilner merged 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
@michaelwilner
michaelwilner merged commit cd08ce4 into quickfixgo:main Sep 8, 2026
47 checks passed
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.

2 participants