Uh oh!
There was an error while loading. Please reload this page.
Replace strcpy with safe string copy - #130547
Merged
Merged
Conversation
Contributor
Tagging subscribers to this area: @agocke, @dotnet/ilc-contrib |
jkotas
commented
Jul 11, 2026
Member
Why does it warn on this one, and not on all the other ones? |
am11
commented
Jul 12, 2026
MemberAuthor
Others are probably inlined by clang. |
jkotas
reviewed
Jul 12, 2026
Uh oh!
There was an error while loading. Please reload this page.
jkotas
reviewed
Jul 12, 2026
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
jkotas
enabled auto-merge (squash)
July 12, 2026 23:05
jkotas
commented
Jul 13, 2026
Member
/ba-g infrastructure timeout |
Uh oh!
There was an error while loading. Please reload this page.
eiriktsarpalis pushed a commit
that referenced
this pull request
Jul 15, 2026
There are 10 usages of `strcpy` API under src/coreclr/nativeaot, but openbsd lld linker warns on this particular usage during PublishAot time. --------- Co-authored-by: Jan Kotas <jkotas@microsoft.com>
This was referenced Jul 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
There are 10 usages of
strcpyAPI under src/coreclr/nativeaot, but openbsd lld linker warns on this particular usage during PublishAot time. Overall, it's a harmless warning: