Skip to content

[stdlib] prevent preventable buffer overflows when constructing Strings from C strings. #42221

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

Merged
merged 15 commits into from
Apr 8, 2022

Conversation

glessard
Copy link
Contributor

@glessard glessard commented Apr 6, 2022

Rebase of #42002, resolving rdar://90336023
Also includes #42232, which works around https://bugs.swift.org/browse/SR-16103.

@glessard glessard requested a review from a team as a code owner April 6, 2022 19:56
@glessard glessard requested a review from stephentyrone April 6, 2022 19:56
@glessard
Copy link
Contributor Author

glessard commented Apr 6, 2022

@swift-ci please smoke test

@glessard
Copy link
Contributor Author

glessard commented Apr 6, 2022

The linux test failure is unrelated to this change.

@glessard
Copy link
Contributor Author

glessard commented Apr 7, 2022

@swift-ci please test macOS platform

@glessard
Copy link
Contributor Author

glessard commented Apr 7, 2022

@swift-ci please test

@glessard
Copy link
Contributor Author

glessard commented Apr 8, 2022

Thanks @stephentyrone

@glessard
Copy link
Contributor Author

glessard commented Apr 8, 2022

I suggest not including the deprecation warnings in the 5.7 branch. This would be the change.

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