-
Notifications
You must be signed in to change notification settings - Fork 3
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
Comments
noctarius
added a commit
that referenced
this issue
Nov 13, 2023
noctarius
added a commit
that referenced
this issue
Nov 13, 2023
Fixes #132: Race condition due to byte-array being sliced not cloned
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.The text was updated successfully, but these errors were encountered: