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

write truncation tests for file load functions #1037

Closed
ctb opened this issue May 28, 2015 · 2 comments
Closed

write truncation tests for file load functions #1037

ctb opened this issue May 28, 2015 · 2 comments

Comments

@ctb
Copy link
Member

ctb commented May 28, 2015

see test_labelhash.py, function test_save_load_corrupted(), added in #1021; this could usefully be applied to all of the file load functions. Of course, then we'd need to fix the bugs, too...

Might be interesting to try postpending garbage into the files, too. Are the load functions robust to random crud?

@mr-c
Copy link
Contributor

mr-c commented May 28, 2015

Sweet, fuzz'ing time

@ctb
Copy link
Member Author

ctb commented Jun 8, 2015

fixed by #1048.

@ctb ctb closed this as completed Jun 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants