Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core] Added missing RCV buffer lock in CUDT::receiveBuffer(..). #2060

Merged
merged 1 commit into from
Jul 21, 2021

Conversation

maxsharabayko
Copy link
Collaborator

@maxsharabayko maxsharabayko commented Jul 20, 2021

Extracted from PR #2046 by @gou4shi1.

Changes of the receiver buffer's state must be protected by CUDT::m_RcvBufferLock mutex.

Functions fixed:

  • CUDT::receiverBuffer(..)
  • CUDT::recvfile(..)

@maxsharabayko maxsharabayko added Type: Bug Indicates an unexpected problem or unintended behavior [core] Area: Changes in SRT library core labels Jul 20, 2021
@maxsharabayko maxsharabayko added this to the v1.4.4 milestone Jul 20, 2021
@maxsharabayko maxsharabayko self-assigned this Jul 20, 2021
in CUDT::receiveBuffer(..).

Co-authored-by: Maxim Sharabayko <maxsharabayko@haivision.com>
@maxsharabayko maxsharabayko merged commit 65ae257 into Haivision:master Jul 21, 2021
@maxsharabayko maxsharabayko deleted the hotfix/rcvbuffer-lock branch July 21, 2021 07:45
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.

2 participants