This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zonyitoo
Recipients habnabit, zonyitoo
Date 2022-03-24.14:50:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648133433.48.0.516500161667.issue44493@roundup.psfhosted.org>
In-reply-to
Content
I think I have already provided enough information about this bug.

The `len_ret` was the length of `sockaddr_un`, which should include the terminated NUL in the `sun_path`. But the original implementation only use  `path.len + offsetof(struct sockaddr_un, sun_path)`.

References:

1. https://man7.org/linux/man-pages/man7/unix.7.html  The Address format section.

2. The `SUN_LEN` macro in *BSD systems, https://man.cx/unix(4)
History
Date User Action Args
2022-03-24 14:50:33zonyitoosetrecipients: + zonyitoo, habnabit
2022-03-24 14:50:33zonyitoosetmessageid: <1648133433.48.0.516500161667.issue44493@roundup.psfhosted.org>
2022-03-24 14:50:33zonyitoolinkissue44493 messages
2022-03-24 14:50:33zonyitoocreate