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

WIP: Gracefully handle nothing to do #1826

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Sep 17, 2024

It can be ok to have 0 deep samples, or a 0 sized data window, meaning nothing to decode in general.

Will address OSS-Fuzz 71692, 71706, 71707

Add size checks against zero, zero samples could be a valid thing to
encounter

Signed-off-by: Kimball Thurston <[email protected]>
should only trigger if someone doesn't check return values

Signed-off-by: Kimball Thurston <[email protected]>
@kdt3rd kdt3rd changed the title Gracefully handle nothing to do WIP: Gracefully handle nothing to do Sep 18, 2024
@kdt3rd
Copy link
Contributor Author

kdt3rd commented Sep 18, 2024

going to change how this works after chatting w/ PH

@kdt3rd kdt3rd closed this Sep 19, 2024
@kdt3rd kdt3rd deleted the ossfuzz_handle_nothing_to_do branch September 19, 2024 12:43
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