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 accidental infinite loop in fuzz targets #5103

Merged
merged 1 commit into from Oct 24, 2022

Conversation

alexcrichton
Copy link
Member

The libfuzzer-sys update in #5068 included some changes to the fuzz_target! macro which caused a bare run function to be shadowed by the macro-defined run function (changed in
rust-fuzz/libfuzzer#95) which meant that some of our fuzz targets were infinite looping or stack overflowing as the same function was called indefinitely. This renames the top-level run function to something else in the meantime.

The `libfuzzer-sys` update in bytecodealliance#5068 included some changes to the
`fuzz_target!` macro which caused a bare `run` function to be shadowed
by the macro-defined `run` function (changed in
rust-fuzz/libfuzzer#95) which meant that some of our fuzz targets were
infinite looping or stack overflowing as the same function was called
indefinitely. This renames the top-level `run` function to something
else in the meantime.
@github-actions github-actions bot added the fuzzing Issues related to our fuzzing infrastructure label Oct 24, 2022
@github-actions
Copy link

Subscribe to Label Action

cc @fitzgen

This issue or pull request has been labeled: "fuzzing"

Thus the following users have been cc'd because of the following labels:

  • fitzgen: fuzzing

To subscribe or unsubscribe from this label, edit the .github/subscribe-to-label.json configuration file.

Learn more.

@alexcrichton alexcrichton merged commit 37c3342 into bytecodealliance:main Oct 24, 2022
@alexcrichton alexcrichton deleted the fix-stack-overflow branch October 24, 2022 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fuzzing Issues related to our fuzzing infrastructure
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants