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

Supplement fuzz testing with random memory failures #5

Open
squeek502 opened this issue Mar 30, 2019 · 1 comment
Open

Supplement fuzz testing with random memory failures #5

squeek502 opened this issue Mar 30, 2019 · 1 comment

Comments

@squeek502
Copy link
Owner

One thing that the current fuzz testing doesn't test for is proper handling of out-of-memory errors when allocating/reallocating memory. Could do something like https://stackoverflow.com/questions/21878083/how-to-create-random-memory-allocation-failure to do some fuzz testing with random memory failures to make sure we're properly handling those cases.

@squeek502 squeek502 changed the title Supplement fuzz testing with adding random memory failures Supplement fuzz testing with random memory failures Mar 30, 2019
@squeek502
Copy link
Owner Author

Did some basic testing using FAINT: https://github.com/misc0110/faint

d2itemreaders test cases get through without crashing, so that's good. Might be worth adding to CI in some way.

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

No branches or pull requests

1 participant