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-20.13:45:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1461159949.57.0.242141909274.issue26803@psf.upfronthosting.co.za>
In-reply-to
Content
makesockaddr() in socketmodule.c calls PyBytes_FromStringAndSize() when the
first byte is a null byte.

My opinion is not worth much in this matter :). The socket documentation does
say that AF_UNIX addresses are "represented as a string, using the file system
encoding", so the implementation looks wrong. However it is possible that
PyUnicode_DecodeFSDefault() fails for some file system encodings when the
encoded address contains null bytes ?
History
Date User Action Args
2016-04-20 13:45:49xdegayesetrecipients: + xdegaye, vinay.sajip, vstinner
2016-04-20 13:45:49xdegayesetmessageid: <1461159949.57.0.242141909274.issue26803@psf.upfronthosting.co.za>
2016-04-20 13:45:49xdegayelinkissue26803 messages
2016-04-20 13:45:49xdegayecreate