Skip to content
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-bounds read in crc32sseAll #20

Closed
klauspost opened this issue Dec 8, 2015 · 1 comment
Closed

out-of-bounds read in crc32sseAll #20

klauspost opened this issue Dec 8, 2015 · 1 comment

Comments

@klauspost
Copy link
Owner

From klauspost/crc32#4

There is a 1 byte out-of bound read on (length & 7) == 7.

klauspost added a commit that referenced this issue Dec 8, 2015
When length was 7, an extra byte would be read from the input. In rare cases that would hit a page boundary when flushing and crash.

The test has been extended to increase the chance of detecting a situation like this.

Fixes #20
@klauspost
Copy link
Owner Author

When length was 7, an extra byte would be read from the input. In rare cases that would hit a page boundary when flushing and crash.

The test has been extended to increase the chance of detecting a situation like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant