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 the repeat nni_pipe in reap_pipe_list. #706

Closed
wants to merge 1 commit into from
Closed

Conversation

wanghaEMQ
Copy link
Member

It's an error in handling clean-session. The cache flag was set to false
because the second pipe with the same clientid was starting while the process of
closing first pipe is unfinished yet.

Which makes NanoMQ not crash when running the fuzz in nanomq/nanomq#1411. But memory leakage may happen.

It's an error in handling clean session. The cache flags was set to false
because the second pipe with same clientid was starting while the process of
closing pipe is unfinished yet.

Signed-off-by: wanghaemq <wangwei@emqx.io>
@wanghaEMQ
Copy link
Member Author

#707. This PR should be better and no memory leakage would happen.

@wanghaEMQ wanghaEMQ closed this Oct 10, 2023
@JaylinYu JaylinYu deleted the wangha/dev branch October 15, 2023 11:26
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.

1 participant