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

KV GetEntryAsync using TryFromBase64String buffer incorrectly #385

Closed
mtmk opened this issue Feb 9, 2024 · 0 comments · Fixed by #387
Closed

KV GetEntryAsync using TryFromBase64String buffer incorrectly #385

mtmk opened this issue Feb 9, 2024 · 0 comments · Fixed by #387
Labels
bug Something isn't working

Comments

@mtmk
Copy link
Collaborator

mtmk commented Feb 9, 2024

We should allocate an oversized buffer based on string input length in NatsKVStore.GetEntryAsync() method (see also link below).

Looks like ReaderBufferSize is used in NatsKVStore.cs - will decreasing it have an effect? Or is its usage there incorrect?

Originally posted by @caleblloyd in #383 (comment)

@mtmk mtmk added the bug Something isn't working label Feb 9, 2024
@mtmk mtmk linked a pull request Feb 9, 2024 that will close this issue
@mtmk mtmk closed this as completed in #387 Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant