You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you run the fuzzers, you'll see that it happens in a test which runs just after an unsuccessful (but matching) test has been executed. This led me to explore whether you might use global variables somewhere, and you do… for the exit code (amongst others).
I think this is a very bad idea to do so, and the most sensible plan would be to eliminate all global state. I'll submit a PR nontheless so that the fuzzer does not crash on it. Note that this would still not allow multi-threaded fuzzers to run correctly, but I don't know if those exist (most will create multiple processes).
Activity
sylvestre commentedon Jan 3, 2024
hmm, i wonder if this isn't a thread issue here
[-]OSS-Fuzz issue 65496[/-][+]fuzzing/printf: exit code differs[/+]samueltardieu commentedon Jan 4, 2024
If you run the fuzzers, you'll see that it happens in a test which runs just after an unsuccessful (but matching) test has been executed. This led me to explore whether you might use global variables somewhere, and you do… for the exit code (amongst others).
I think this is a very bad idea to do so, and the most sensible plan would be to eliminate all global state. I'll submit a PR nontheless so that the fuzzer does not crash on it. Note that this would still not allow multi-threaded fuzzers to run correctly, but I don't know if those exist (most will create multiple processes).
find: Don't use uutils::error::set_exit_code()
find: Don't use uutils::error::set_exit_code()
find: Don't use uutils::error::set_exit_code()
find: Don't use uutils::error::set_exit_code()
Wrap walkdir::DirEntry in a new type (#436)