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

Add bounds checks and tests to the safe module #18

Merged
merged 3 commits into from May 18, 2016

Conversation

djs55
Copy link
Member

@djs55 djs55 commented Apr 4, 2016

Check for:

  • negative starting offsets
  • starting offsets beyond size_sectors
  • finishing offsets beyond size_sectors

Signed-off-by: David Scott <dave@recoil.org>
Signed-off-by: David Scott <dave@recoil.org>
Signed-off-by: David Scott <dave@recoil.org>
@coveralls
Copy link

Coverage Status

Coverage remained the same at 73.641% when pulling 46ee98d on djs55:bounds-checks into 95f8260 on mirage:master.

@talex5 talex5 merged commit 1b5ae7b into mirage:master May 18, 2016
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.

None yet

3 participants