-
-
Notifications
You must be signed in to change notification settings - Fork 236
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
OOB read using ReadFrom #85
Comments
How can I reproduce this? |
@thanhpk I found the bug. You are over-reading. Upgrading from bitset v1.2.0 you changed it to a read loop to:
However If the stream ends, it will exit "early" from the loop due to It would seem like |
(feel free to transfer the issue to github.com/bits-and-blooms/bitset if you see fit). Problem is indeed from bits-and-blooms/bitset#103 |
great catch, thanks. I submited a pull request bits-and-blooms/bitset#107. |
Closed via merging #107 |
When upgrading to latest version we observe this error:
We are de-serializing into a new instance of
&bloom.BloomFilter{}
.Possible regression from bits-and-blooms/bitset#103
The text was updated successfully, but these errors were encountered: