Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Conversation

@JonHanna
Copy link
Contributor

Fixes #6842

Also extend tests to cover both those and other places it could occur even if it currently doesn't.

Further, name min/max index fields as inclusive as @stephentoub suggested, making the inclusive nature of the boundaries more explicit in the code.

Likely easier to review a commit at a time, as otherwise the fixes get lost in the name changes.

cc: @stephentoub @VSadov

Extend tests to cover both those and other places it could occur
even if it currently doesn't.
Make the inclusive nature of the boundaries more explicit in the code.
@dotnet-bot dotnet-bot changed the title Fix off-by-one similar to #6819 in other cases. Fix off-by-one similar to #6819 in other cases. Mar 12, 2016
@JonHanna
Copy link
Contributor Author

Test Innerloop CentOS7.1 Release Build and Test. please.
("Unable to find a build for artifact copy from: dotnet_coreclr/master/release_centos7.1")

@JonHanna
Copy link
Contributor Author

Test Innerloop CentOS7.1 Debug Build and Test, please.

@stephentoub
Copy link
Member

LGTM. Thanks.

stephentoub added a commit that referenced this pull request Mar 12, 2016
Fix off-by-one similar to #6819 in other cases.
@stephentoub stephentoub merged commit c877993 into dotnet:master Mar 12, 2016
@JonHanna JonHanna deleted the fix_6819_more branch March 12, 2016 11:48
@karelz karelz modified the milestone: 1.0.0-rtm Dec 3, 2016
picenka21 pushed a commit to picenka21/runtime that referenced this pull request Feb 18, 2022
Fix off-by-one similar to dotnet/corefx#6819 in other cases.

Commit migrated from dotnet/corefx@c877993
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Off by one error in some Skip/Take combinations.

5 participants