Skip to content

fix: base64 encode and decoded in the binary encoder to avoid possible crash#20

Closed
gkachru wants to merge 2 commits intoJulien-R44:mainfrom
gkachru:main
Closed

fix: base64 encode and decoded in the binary encoder to avoid possible crash#20
gkachru wants to merge 2 commits intoJulien-R44:mainfrom
gkachru:main

Conversation

@gkachru
Copy link
Contributor

@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
Contributor

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