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

[Foundation] slices of slices that use range expressions incorrectly calculated relative indexing #10584

Merged
merged 1 commit into from Jun 26, 2017

Conversation

Projects
None yet
1 participant
@phausler
Member

phausler commented Jun 26, 2017

The RangeExpression variants of slicing incorrectly passed 0..<R.Bounds.max which should be the slice region of the Data.

This resolves the issues:
rdar://problem/32982494
rdar://problem/32983214 aka [SR-5292]: Another Data slice-related crash

@phausler

This comment has been minimized.

Show comment
Hide comment
@phausler

phausler Jun 26, 2017

Member

@swift-ci please test and merge

Member

phausler commented Jun 26, 2017

@swift-ci please test and merge

@phausler

This comment has been minimized.

Show comment
Hide comment
@phausler

phausler Jun 26, 2017

Member

@swift-ci please test and merge

Member

phausler commented Jun 26, 2017

@swift-ci please test and merge

@phausler phausler merged commit e5504cd into apple:master Jun 26, 2017

4 checks passed

Swift Test Linux Platform 10023 tests run, 0 skipped, 0 failed.
Details
Swift Test Linux Platform (smoke test)
Details
Swift Test OS X Platform 40300 tests run, 0 skipped, 0 failed.
Details
Swift Test OS X Platform (smoke test)
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment