Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@vaci
Copy link
Contributor

@vaci vaci commented Jul 8, 2021

findSubscription() may return a null pointer that is used unchecked in step 1.

findSubscription() may return a null pointer that is used unchecked in step 1,
@vaci vaci changed the title Avoid proceeding to step 1 until m_subscription is non-null [C++] Archive Client AsyncConnect::poll: Avoid proceeding to step 1 until m_subscription is non-null Jul 8, 2021
@vaci
Copy link
Contributor Author

vaci commented Jul 8, 2021

We also note that the timeout exception might access m_subscription and m_publication before those pointers are assigned.

@tmontgomery
Copy link
Contributor

We also note that the timeout exception might access m_subscription and m_publication before those pointers are assigned.

If you want, add changes for these as well to this PR.

@vaci
Copy link
Contributor Author

vaci commented Jul 9, 2021

Added a patch for the timeout message.

@mjpt777 mjpt777 merged commit 38569ed into aeron-io:master Jul 9, 2021
@vaci vaci deleted the patch-1 branch October 9, 2023 14:40
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.

3 participants