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

More fixes. #118

Merged
merged 3 commits into from
Dec 29, 2022
Merged

More fixes. #118

merged 3 commits into from
Dec 29, 2022

Conversation

skx
Copy link
Owner

@skx skx commented Dec 28, 2022

  • Added appropriate range-checking on arguments to functions:
    • (base) can only be used with a base 2 >= N <= 36
    • (random) needs a number bigger than zero.
  • Disappointingly these issues were not found by fuzz-testing.
  • Updated to add all our examples to the fuzz-testing, and almost immediately found new issues.
    • Added exceptions and sample test-cases to the PR.

skx added 3 commits December 28, 2022 20:12
* (base) can only be used with a base 2 >= N <= 36
* (random) needs a number bigger than zero.
This found new crashes almost immediately.  Ouch.
@skx
Copy link
Owner Author

skx commented Dec 29, 2022

Looks good now, an overnight run showed nothing new:

fuzz: elapsed: 9h23m9s, execs: 688221 (21/sec), new interesting: 392 (total: 3600)
fuzz: elapsed: 9h23m12s, execs: 688325 (35/sec), new interesting: 392 (total: 3600)

@skx skx merged commit ff82758 into master Dec 29, 2022
@skx skx deleted the more-fixes branch December 29, 2022 04:18
@skx skx mentioned this pull request Feb 13, 2023
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