[issue46357] socket module fix warning build on FreeBSD

STINNER Victor report at bugs.python.org
Thu Jan 13 15:38:18 EST 2022


STINNER Victor <vstinner at python.org> added the comment:

> I took as initialized to avoid undefined behavior rather than anything.

I don't get what you mean.

Can you please show me which functions initialize sockaddr_l2cap structures and explain how the current code fills all members?

I don't know the code well enough to approve your PR 30560.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46357>
_______________________________________


More information about the Python-bugs-list mailing list