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

Don't recycle buffer more than once #3978

Merged
merged 1 commit into from Mar 17, 2023
Merged

Don't recycle buffer more than once #3978

merged 1 commit into from Mar 17, 2023

Conversation

neilalexander
Copy link
Member

This should fix a panic with overlapping slices ending up in the message block buffer pool.

Signed-off-by: Neil Twigg neil@nats.io

@neilalexander neilalexander requested a review from a team as a code owner March 17, 2023 09:25
Copy link
Member

@Jarema Jarema left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@neilalexander neilalexander merged commit 1cfb1b0 into main Mar 17, 2023
2 checks passed
@neilalexander neilalexander deleted the neil/encfix branch March 17, 2023 09:42
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.

None yet

2 participants