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

Fix Empty Multipart Crossover Bug #2789

Merged
merged 1 commit into from
Dec 23, 2024

Conversation

riesentoaster
Copy link
Contributor

When other is empty, the mod calculation following the changed code throws a divided by 0 panic.

@domenukk
Copy link
Member

How does an empty multipart entry even end up in your corpus?

@domenukk domenukk merged commit 03f7fc9 into AFLplusplus:main Dec 23, 2024
103 checks passed
@riesentoaster
Copy link
Contributor Author

My target takes a variable number of entries, so I have a generator and mutators that may produce empty values.

And yes, that may be a bit of an abuse of Multipart, but it works (except for tiny bugs like these).

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.

2 participants