Skip to content

Conversation

maxsharabayko
Copy link
Collaborator

Fixed a data race upon a simultaneous access to listener's config (CUDT::m_config) from SRT internal newConnection(..) and the app thread called for srt_listen(). Locking the listener's m_ConnectionLock.

Replaces #2961.
Fixes #2970.

@maxsharabayko maxsharabayko added Type: Bug Indicates an unexpected problem or unintended behavior [core] Area: Changes in SRT library core labels Aug 7, 2024
@maxsharabayko maxsharabayko added this to the v1.5.4 milestone Aug 7, 2024
Co-authored-by: yomnes0 <yomnes@haivision.com>
@maxsharabayko maxsharabayko merged commit 4270a11 into Haivision:master Aug 7, 2024
12 checks passed
@maxsharabayko maxsharabayko deleted the hotfix/data-race-listen-setopt branch August 7, 2024 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[core] Area: Changes in SRT library core Type: Bug Indicates an unexpected problem or unintended behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] Lock order violation: m_ConnectionLock and m_LSLock.
1 participant