Message263837
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 ? |
|
Date |
User |
Action |
Args |
2016-04-20 13:45:49 | xdegaye | set | recipients:
+ xdegaye, vinay.sajip, vstinner |
2016-04-20 13:45:49 | xdegaye | set | messageid: <1461159949.57.0.242141909274.issue26803@psf.upfronthosting.co.za> |
2016-04-20 13:45:49 | xdegaye | link | issue26803 messages |
2016-04-20 13:45:49 | xdegaye | create | |
|