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 a crash seen when logging redis COMMAND in recent patches #619

Merged
merged 1 commit into from
Jul 2, 2021

Conversation

TysonAndre
Copy link
Collaborator

@TysonAndre TysonAndre commented Jul 2, 2021

The recent patches add support for a placeholder key, which is actually
a constant string in memory.

The logging helper method should not be mutating the data it's logging.

Solution:

Specify the length of the string to log instead of introducing a null
byte.

The recent patches add support for a placeholder key, which is actually
a constant string in memory.

The logging helper method should not be mutating the data it's logging.
Specify the length of the string to log instead of introducing a null
byte.
@TysonAndre TysonAndre merged commit 67e1124 into master Jul 2, 2021
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