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 serhiy.storchaka
Recipients christian.heimes, habnabit, pitrou, serhiy.storchaka, zonyitoo
Date 2022-03-24.16:29:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1648139393.6.0.909556048993.issue44493@roundup.psfhosted.org>
In-reply-to
Content
I am not the socket programming expert. It just happened that I fixed some bugs here. But according to the manpage https://man7.org/linux/man-pages/man7/unix.7.html the address length should include the terminating NUL: offsetof(struct sockaddr_un, sun_path) + strlen(sun_path) + 1. So the fix is correct.
History
Date User Action Args
2022-03-24 16:29:53serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, christian.heimes, habnabit, zonyitoo
2022-03-24 16:29:53serhiy.storchakasetmessageid: <1648139393.6.0.909556048993.issue44493@roundup.psfhosted.org>
2022-03-24 16:29:53serhiy.storchakalinkissue44493 messages
2022-03-24 16:29:53serhiy.storchakacreate