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: base64 encode and decoded in the binary encoder to avoid possible crash #20

Closed
wants to merge 2 commits into from

Conversation

gkachru
Copy link

@gkachru gkachru commented May 14, 2024

Fixes #19 while passing the binary encode/decode tests

@gkachru gkachru changed the title base64 encode and decoded in the binary encoder to avoid possible crash fix: base64 encode and decoded in the binary encoder to avoid possible crash May 14, 2024
@joravkumar
Copy link

We are also facing this issue. Can we speed up this review?

@Julien-R44
Copy link
Owner

Hey, thanks for the PR, but I think using base64 is not the best solution.

I created a PR on @boringnode/bus that I will probably merge tomorrow : boringnode/bus#3 and that should solve the problem. Closing the PR and tracking the issue in #19

@Julien-R44 Julien-R44 closed this May 15, 2024
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.

Binary encoding in RedisTransport can crash due to unsafe utf-8 conversion
3 participants