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 xdegaye
Recipients vinay.sajip, vstinner, xdegaye
Date 2016-04-21.11:42:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461238936.39.0.372927002652.issue26803@psf.upfronthosting.co.za>
In-reply-to
Content
In makesockaddr(), the current implementation does not do any decoding of AF_UNIX addresses in the abstract namespace in the struct sockaddr_un to bytes direction, i.e. system to python direction, but does encode a string or bytes object to struct sockaddr_un in the reverse direction, in getsockaddrarg(). This is not correct.

So the patch does more than fixing the type of the addresses as it also fixes this in a non backward compatible way. Maybe this should be indicated in Misc/NEWS.
History
Date User Action Args
2016-04-21 11:42:16xdegayesetrecipients: + xdegaye, vinay.sajip, vstinner
2016-04-21 11:42:16xdegayesetmessageid: <1461238936.39.0.372927002652.issue26803@psf.upfronthosting.co.za>
2016-04-21 11:42:16xdegayelinkissue26803 messages
2016-04-21 11:42:16xdegayecreate