-
Notifications
You must be signed in to change notification settings - Fork 11
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
Out of memory error when parsing bytes #3
Comments
I've tried this example with and without afl, on master and v0.1.0. Can't seem to reproduce the out of memory error. edit: tried this with the latest nightly:
can you try the example with the latest nightly just so I can see if crops up again. |
I can't reproduce it on my Macbook Pro, but on both of my Linux boxes, here's what I get:
|
This is to deal with issue #3 since it mostly has to do with the length of metdata blocks being larger than the buffer.
Alright, I believe I fixed or at least put two checks in to prevent the error from happening. It seems that this has more to do with the rust compiler on Linux since the number, 808464432, is valid with it being smaller than the max size of a Other issues that brought up:
Let me know if this fixes the issue. |
Sounds good, thanks! |
Found using afl.rs ✨
The text was updated successfully, but these errors were encountered: