Skip to content

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

Merged
phausler merged 1 commit intoswiftlang:masterfrom
phausler:slice_range_expressions
Jun 26, 2017
Merged

[Foundation] slices of slices that use range expressions incorrectly calculated relative indexing#10584
phausler merged 1 commit intoswiftlang:masterfrom
phausler:slice_range_expressions

Conversation

@phausler
Copy link
Copy Markdown
Contributor

@phausler 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
Copy link
Copy Markdown
Contributor Author

@swift-ci please test and merge

@phausler phausler force-pushed the slice_range_expressions branch from b3afbaa to 9648228 Compare June 26, 2017 21:49
@phausler
Copy link
Copy Markdown
Contributor Author

@swift-ci please test and merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant