Skip to content

Fix bounds safety check issue (minimal fix) - #1765

Open
aDifferentJT wants to merge 1 commit into
chriskohlhoff:masterfrom
aDifferentJT:fix-bounds-safety
Open

Fix bounds safety check issue (minimal fix)#1765
aDifferentJT wants to merge 1 commit into
chriskohlhoff:masterfrom
aDifferentJT:fix-bounds-safety

Conversation

@aDifferentJT

@aDifferentJT aDifferentJT commented Aug 28, 2026

Copy link
Copy Markdown

This and #1766 are intended to fix the following error that I'm getting when compiling with Xcode because it uses -fbounds-safety, using decltype instead of template argument deduction to get the type.

passing address of 'msg_namelen' referred to by '__sized_by' to a parameter that is not referred to by the same attribute

This is a minimal fix, whereas #1766 removes the now redundant functions unneeded now that template argument deduction isn't being performed.

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.

1 participant