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

release/19.x: [ORC] Remove EDU from dependants list of dependencies before destroying. #109355

Merged
merged 1 commit into from
Sep 24, 2024

Commits on Sep 24, 2024

  1. [ORC] Remove EDU from dependants list of dependencies before destroying.

    Dependant lists hold raw pointers back to EDUs that depend on them. We need to
    remove these entries before destroying the EDU or we'll be left with a dangling
    reference that can result in use-after-free bugs.
    
    No testcase: This has only been observed in multi-threaded setups that
    reproduce the issue inconsistently.
    
    rdar://135403614
    (cherry picked from commit 7034ec4)
    lhames authored and tru committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    1c499a7 View commit details
    Browse the repository at this point in the history