Skip to content

Fix bounds safety check issue (and inline redundant functions) - #1766

Open
aDifferentJT wants to merge 2 commits into
chriskohlhoff:masterfrom
aDifferentJT:fix-bounds-safety-and-tidy
Open

Fix bounds safety check issue (and inline redundant functions)#1766
aDifferentJT wants to merge 2 commits into
chriskohlhoff:masterfrom
aDifferentJT:fix-bounds-safety-and-tidy

Conversation

@aDifferentJT

@aDifferentJT aDifferentJT commented Aug 28, 2026

Copy link
Copy Markdown

This and #1765 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 removes the now redundant functions unneeded now that template argument deduction isn't being performed, whereas #1765 is the minimal fix.

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