-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
flate: index out of range when compressing at level 1 #2508
Labels
Milestone
Comments
Now, the situation is pretty clear. If findMatch uses the whole lookahead and lookahead > d.fastSkipHashing, then deflate may be unable to calculate the next hash, because it might the data outside of the window. I'm thinking about the appropriate fix for that. Will update this thread soon. |
The fix is here: http://golang.org/cl/5449115/ The CL is not ready to be committed, because I want to add the test as well, but it's ready for the review. |
This issue was closed by revision b1ae728. Status changed to Fixed. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: