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

ConsumeFuzzer.GetBytes cannot generate long byte slices #67

Closed
elias-orijtech opened this issue Apr 21, 2022 · 1 comment
Closed

ConsumeFuzzer.GetBytes cannot generate long byte slices #67

elias-orijtech opened this issue Apr 21, 2022 · 1 comment

Comments

@elias-orijtech
Copy link

As per

length := int(f.data[f.position])
a slice length is encoded in a single byte, making slices longer than 255 impossible to generate. See also google/oss-fuzz#7600.

@AdamKorcz
Copy link
Collaborator

This has been fixed with #85.

Thank you for raising the issue.

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

2 participants