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

tests/fuzzers: fix false positive in bitutil fuzzer #22076

Merged
merged 1 commit into from
Dec 27, 2020

Conversation

holiman
Copy link
Contributor

@holiman holiman commented Dec 26, 2020

This PR fixes a false positive reported by oss-fuzz. The fuzzer took the input as 'compressed' data, and expected unpack + pack to yield the same result.
However, un-compressed data at size 1024 can be interpreted as "compressed (but not really)", and thus there's no change when decompressing it. When we compress it again, however, it becomes actually compressed.

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

Successfully merging this pull request may close these issues.

1 participant