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

Race condition in Logical Replication Message handling due to reused byte-array #132

Closed
noctarius opened this issue Nov 13, 2023 · 0 comments · Fixed by #133
Closed

Race condition in Logical Replication Message handling due to reused byte-array #132

noctarius opened this issue Nov 13, 2023 · 0 comments · Fixed by #133

Comments

@noctarius
Copy link
Owner

When handling logical replication messages, the Content byte array is a slice of the underlying packet buffer, not a clone. This can cause a race condition when reading the content and the byte-array is already reused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant