Skip to content

Conversation

@klittlepage
Copy link
Contributor

Calling aeron_archive_context_duplicate on a context where _ctx->owns_idle_strategy == true will result in a context that also attempts to own the idle strategy. This results in a double free when calling aeron_archive_context_close.

Calling aeron_archive_context_duplicate on a context where
_ctx->owns_idle_strategy == true will result in a context that also
attempts to own the idle strategy. This results in a double free
when calling aeron_archive_context_close.
@vyazelenko
Copy link
Contributor

@klittlepage Good catch.

@vyazelenko vyazelenko merged commit f843317 into aeron-io:master Dec 2, 2025
42 checks passed
vyazelenko pushed a commit that referenced this pull request Dec 2, 2025
Calling aeron_archive_context_duplicate on a context where
_ctx->owns_idle_strategy == true will result in a context that also
attempts to own the idle strategy. This results in a double free
when calling aeron_archive_context_close.

(cherry picked from commit f843317)
klittlepage added a commit to onechronos/aeron that referenced this pull request Dec 2, 2025
Calling aeron_archive_context_duplicate on a context where
_ctx->owns_idle_strategy == true will result in a context that also
attempts to own the idle strategy. This results in a double free
when calling aeron_archive_context_close.

(cherry picked from commit f843317)
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