-
Notifications
You must be signed in to change notification settings - Fork 322
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
zstd: Fix crash on amd64 (no BMI) + Go fuzz test #645
Conversation
Port zstd fuzz tests to Go 1.18 fuzz tests.
|
@WojciechMula It seems this problem can be reliably triggered by disabling BMI It seems like it is possible to get to It could either be triggered by an invalid table or incorrect decoding. |
updateLength appears to be the problem. |
7b38327
to
5357b67
Compare
updateLength would output junk values if bitsRead > 64. This would happen on corrupted input. |
Port zstd fuzz tests to Go 1.18 fuzz tests.
(May need time extension on Go 1.18 CI)