-
Notifications
You must be signed in to change notification settings - Fork 325
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
s2.EncodeBetter reads out of bounds and panics #290
Comments
That is indeed strange. I will take a look. |
Oh right, the difference between |
Yeah. Found the issue. Just adding a few tests. |
Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I run
on the attached file, I get
It looks like some bounds check is missing. The funny thing is that the program doesn't crash if I omit the
p = p[:len(p):len(p)]
, but the program were this crash first occurred didn't pull that trick.The text was updated successfully, but these errors were encountered: