mirror of
https://github.com/google/brotli.git
synced 2026-09-22 22:56:08 +00:00
[PR #1158] Don't check cur_ix_masked against ring_buffer_mask.
#1722
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/google/brotli/pull/1158
State: closed
Merged: No
Don't check
cur_ix_maskedagainstring_buffer_mask.cur_ix_maskedisn't changing from iteration to iteration, andmax_lengthensures we never find a match long enough to walk off the ring buffer.