[issue39850] multiprocessing.connection.Listener fails to close with null byte in AF_UNIX socket name.

2020-03-04 Thread Nathan Michaels


Change by Nathan Michaels :


--
components: Library (Lib)
nosy: nmichaels
priority: normal
severity: normal
status: open
title: multiprocessing.connection.Listener fails to close with null byte in 
AF_UNIX socket name.
type: crash
versions: Python 3.6

___
Python tracker 
<https://bugs.python.org/issue39850>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39850] multiprocessing.connection.Listener fails to close with null byte in AF_UNIX socket name.

2020-03-04 Thread Nathan Michaels


New submission from Nathan Michaels :

>>> from multiprocessing.connection import Listener
>>> listener = Listener('\0conntest', family='AF_UNIX')
>>> listener.close()
Traceback (most recent call last):
  File "", line 1, in 
  File "/usr/lib64/python3.6/multiprocessing/connection.py", line 466, in close
listener.close()
  File "/usr/lib64/python3.6/multiprocessing/connection.py", line 604, in close
unlink()
  File "/usr/lib64/python3.6/multiprocessing/util.py", line 186, in __call__
res = self._callback(*self._args, **self._kwargs)
ValueError: embedded null byte

Linux has a handy feature where if the first byte of a unix domain socket's 
name is the null character, it won't put it in the filesystem. The socket 
interface works fine with it, but when SocketListener is wrapped around a 
socket, it throws this exception.

--

___
Python tracker 
<https://bugs.python.org/issue39850>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue6398] README typo

2009-07-01 Thread Nathan Michaels

New submission from Nathan Michaels :

There's a typo in the README in the 2.6 source root. "versio" on line
942 should be "version".

--
assignee: georg.brandl
components: Documentation
files: fix.diff
keywords: patch
messages: 89998
nosy: georg.brandl, nmichaels
severity: normal
status: open
title: README typo
versions: Python 2.6
Added file: http://bugs.python.org/file14423/fix.diff

___
Python tracker 
<http://bugs.python.org/issue6398>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com