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

*: check length before slicing #2077

Merged
merged 7 commits into from
Apr 11, 2023
Merged

*: check length before slicing #2077

merged 7 commits into from
Apr 11, 2023

Conversation

xenowits
Copy link
Contributor

Check length of array/string before slicing.

category: bug
ticket: #2052

@xenowits xenowits self-assigned this Apr 10, 2023
@codecov
Copy link

codecov bot commented Apr 10, 2023

Codecov Report

Patch coverage: 28.57% and project coverage change: -0.20 ⚠️

Comparison is base (e8acdbc) 53.53% compared to head (1aed054) 53.34%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2077      +/-   ##
==========================================
- Coverage   53.53%   53.34%   -0.20%     
==========================================
  Files         174      174              
  Lines       22608    22638      +30     
==========================================
- Hits        12104    12076      -28     
- Misses       8996     9059      +63     
+ Partials     1508     1503       -5     
Impacted Files Coverage Δ
app/app.go 7.81% <0.00%> (-0.07%) ⬇️
app/version/version.go 17.14% <0.00%> (-2.22%) ⬇️
cmd/relay/p2p.go 38.46% <66.66%> (+2.93%) ⬆️

... and 6 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

app/version/version.go Outdated Show resolved Hide resolved
app/app.go Outdated Show resolved Hide resolved
@corverroos corverroos changed the title *: check slice length before slicing slices *: check length before slicing Apr 11, 2023
@xenowits xenowits added the merge when ready Indicates bulldozer bot may merge when all checks pass label Apr 11, 2023
@obol-bulldozer obol-bulldozer bot merged commit 0822388 into main Apr 11, 2023
@obol-bulldozer obol-bulldozer bot deleted the xenowits/obol-05 branch April 11, 2023 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge when ready Indicates bulldozer bot may merge when all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants