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

Fix: Lock interest_mutex_ When interest_ Modified in ctlEx #1237

Merged
merged 1 commit into from
Aug 30, 2024

Commits on Aug 30, 2024

  1. Fix: Lock interest_mutex_ When interest_ Modified in ctlEx

    EventMethEpollEquivImpl::ctlEx now locks interest_mutex_ when
    performing its add/mod/del actions.
    
    Previously, the interest_mutex_ lock was released before these
    add/mod/del actions were performed. This was confirmed to occasionally
    cause a "use after free" in findEmEventInAnInterestSet (called out of
    getReadyEmEvents) in another thread. It might also result in
    corruption of the interest_ std::set.
    dgreatwood committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    4ac4d56 View commit details
    Browse the repository at this point in the history