Skip to content

[5.1] Fix bounds check in bridged ASCII String comparison 5.1 #25100

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

Conversation

Catfish-Man
Copy link
Contributor

Cherry-pick of #24457

Fixes rdar://problem/50407214

@Catfish-Man Catfish-Man changed the base branch from master to swift-5.1-branch May 28, 2019 21:48
@Catfish-Man
Copy link
Contributor Author

@swift-ci please test

@Catfish-Man Catfish-Man self-assigned this May 28, 2019
@Catfish-Man Catfish-Man requested a review from airspeedswift May 28, 2019 21:48
@compnerd
Copy link
Member

compnerd commented May 28, 2019

@Catfish-Man - do I detect a reference to Firefly? if so, amazing!

@Catfish-Man
Copy link
Contributor Author

Indeed! Though I honestly forget how the pun was supposed to work semantically, it's been long enough since I made the original branch 😅

@Catfish-Man
Copy link
Contributor Author

Something about NSString's indexes being a two byte stride or something like that

@Catfish-Man Catfish-Man changed the title [5.1] Two by two length of blue 5.1 [5.1] Fix bounds check in bridged ASCII String comparison 5.1 May 29, 2019
@Catfish-Man
Copy link
Contributor Author

Branch names don't go in the title, silly github

@airspeedswift airspeedswift merged commit fd49224 into swiftlang:swift-5.1-branch May 29, 2019
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.

3 participants