Skip to content

Null-terminate PCSTR friendly overload strings - #1781

Merged
Jevan Saks (jevansaks) merged 3 commits into
mainfrom
user/jevansa/issue-1775
Aug 13, 2026
Merged

Null-terminate PCSTR friendly overload strings#1781
Jevan Saks (jevansaks) merged 3 commits into
mainfrom
user/jevansa/issue-1775

Conversation

@jevansaks

Copy link
Copy Markdown
Member

Summary

  • append an explicit null character before encoding managed strings for PCSTR friendly overloads
  • add a deterministic generator regression test for GetProcAddress

Fixes #1775

Fixes #1775

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a08275a7-2659-446d-a81b-848dbe944fe6
@jevansaks
Jevan Saks (jevansaks) marked this pull request as ready for review August 11, 2026 17:26
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a08275a7-2659-446d-a81b-848dbe944fe6
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: a08275a7-2659-446d-a81b-848dbe944fe6
@jevansaks
Jevan Saks (jevansaks) merged commit 965e99b into main Aug 13, 2026
20 checks passed
@jevansaks
Jevan Saks (jevansaks) deleted the user/jevansa/issue-1775 branch August 13, 2026 20:16
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.

Generated string-friendly overloads for PCSTR parameters do not append a null terminator

2 participants