Skip to content

Conversation

@bitjammer
Copy link
Contributor

When emitting capture descriptors for functions with a smaller number of parameters
than SIL parameters, the compiler can crash indexing into the heap layout's element
types, because the capture index underflows to UINT_MAX.

rdar://problem/26404583

…mplicit self

When emitting capture descriptors for functions with a smaller number of parameters
than SIL parameters, the compiler can crash indexing into the heap layout's element
types, because the capture index underflows to UINT_MAX.

rdar://problem/26404583
@bitjammer
Copy link
Contributor Author

@swift-ci Please test

@tkremenek tkremenek added this to the Swift 3.0 Preview 1 milestone May 23, 2016
@tkremenek tkremenek self-assigned this May 23, 2016
@tkremenek tkremenek merged commit 2fd2ccf into swiftlang:swift-3.0-preview-1-branch May 23, 2016
@bitjammer bitjammer deleted the remote-mirror-fix-crash-sil-params-26404583 branch May 23, 2016 20:40
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.

2 participants