Skip to content

StringRef: remove impilcit conversion to plain CharType pointer#2184

Open
antkudr wants to merge 2 commits intoTencent:masterfrom
antkudr:master
Open

StringRef: remove impilcit conversion to plain CharType pointer#2184
antkudr wants to merge 2 commits intoTencent:masterfrom
antkudr:master

Conversation

@antkudr
Copy link

@antkudr antkudr commented Aug 3, 2023

It's too dangerous to use CharType pointer without length because there is no guaranty the string is null terminated.

It's too dangerous to use CharType pointer without length
because there is no guaranty the string is null terminated.
@tencent-adm
Copy link
Member

tencent-adm commented Aug 3, 2023

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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