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

RingBuffer: handle cases when the read/write buffer is larger than the internal buffer #2

Open
saza-ku opened this issue Dec 29, 2023 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@saza-ku
Copy link
Contributor

saza-ku commented Dec 29, 2023

https://github.com/Mewz-project/Mewz/blob/main/src/util.zig#L34

If data.len > self.buffer.len, it causes panic.

@saza-ku saza-ku added bug Something isn't working good first issue Good for newcomers labels Dec 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant