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

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

glessard
glessard [test] avoid using array conversion for String-from-C-string
5b0e7db2
glessard [stdlib] harmonize parameter labels with StringProtocol
8fb64ae8
glessard [stdlib] remove incorrect uses of pointer conversion
4c70f4e5
glessard [stdlib] overload for arrays passed to `String.init(cString:)`
2868f624
glessard [stdlib] overload for arrays passed to String.init?(validatingUTF8:)
d1bc36ed
glessard [stdlib] overload for arrays passed to String(decodeCString:as:)
d53436bb
glessard [stdlib] String overloads for String-from-C-string inits
1b1bf8a2
glessard [test] add tests of String-from-C-string Array overloads
a426c6c2
glessard [test] add tests of String-from-C-string String overloads
02c0fa96
glessard [stdlib] overload String-from-C-string initializers in the case of in…
edef53ad
glessard [test] add tests of String-from-C-string inout conversion overloads
75741f57
glessard [test] check deprecation warnings for undesirable overloads
eb4f5cd5
glessard [stdlib] improve the new deprecation messages
394f395c
glessard [test] work around a linux testing issue
65cb7058
glessard glessard requested a review 3 years ago
glessard glessard requested a review from stephentyrone stephentyrone 3 years ago
glessard
glessard
glessard
glessard [test] just don’t check for the crash message
1148f4fb
glessard
stephentyrone
stephentyrone approved these changes on 2022-04-08
glessard
glessard glessard merged 174ca633 into release/5.7 3 years ago
glessard glessard deleted the rdar90336023-5.7 branch 3 years ago
glessard

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone