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

feat: verifies input range in the computeRoot to avoid panic #186

Merged
merged 42 commits into from
May 3, 2023

Conversation

staheri14
Copy link
Contributor

@staheri14 staheri14 commented Apr 28, 2023

Overview

Closes #137

Checklist

  • New and updated code has appropriate documentation
  • New and updated code has new and/or updated testing
  • Required CI checks are passing
  • Visual proof for any user facing features like CLI or documentation updates
  • Linked issues closed with keywords

@staheri14 staheri14 self-assigned this Apr 28, 2023
@staheri14 staheri14 added the enhancement New feature or request label Apr 28, 2023
@codecov
Copy link

codecov bot commented Apr 28, 2023

Codecov Report

Merging #186 (eecd425) into master (1262b7f) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #186      +/-   ##
==========================================
+ Coverage   95.69%   95.70%   +0.01%     
==========================================
  Files           5        5              
  Lines         557      559       +2     
==========================================
+ Hits          533      535       +2     
  Misses         14       14              
  Partials       10       10              
Impacted Files Coverage Δ
nmt.go 98.01% <100.00%> (+0.01%) ⬆️

@staheri14 staheri14 marked this pull request as ready for review May 1, 2023 22:39
rootulp
rootulp previously approved these changes May 2, 2023
nmt_test.go Show resolved Hide resolved
Copy link
Member

@evan-forbes evan-forbes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@staheri14 staheri14 merged commit 9c56d14 into master May 3, 2023
@staheri14 staheri14 deleted the compute-root-range-check branch May 3, 2023 15:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Capture index range error in the computeRoot helper
3 participants