Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Fix BoundedSlice bound #11601

Closed
wants to merge 1 commit into from
Closed

Fix BoundedSlice bound #11601

wants to merge 1 commit into from

Conversation

ggwpez
Copy link
Member

@ggwpez ggwpez commented Jun 6, 2022

Changes:

  • Use <= instead of < for the bound check in the constructor.
  • Add test

Thanks @koute for finding it!

Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
@ggwpez ggwpez added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit labels Jun 6, 2022
@koute
Copy link
Contributor

koute commented Jun 6, 2022

FYI, I've already put up a PR for this here: #11600

Sorry, I should have added you as a reviewer... (:

@ggwpez
Copy link
Member Author

ggwpez commented Jun 6, 2022

ahh crap, okay thanks!

@ggwpez ggwpez closed this Jun 6, 2022
@shawntabrizi shawntabrizi deleted the oty-bounded-slice-fix branch June 6, 2022 14:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. D3-trivial 🧸 PR contains trivial changes in a runtime directory that do not require an audit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants