New submission from STINNER Victor <[EMAIL PROTECTED]>: _multiprocessing Connection methods don't check if handle is valid or not. If you close the socket/pipe, Python may crash on operations, especially in poll() on FD_SET(...handle, &rdfs).
Example of crash: ---------------------- import _multiprocessing obj = _multiprocessing.Connection(755) obj.close() obj.poll() ---------------------- Attached patch is a proposition of fix to check handle in all Connection methods using the handle. ---------- components: Library (Lib) files: multiprocessing_closed.patch keywords: patch messages: 69365 nosy: haypo severity: normal status: open title: block operation on closed socket/pipe for multiprocessing versions: Python 2.6 Added file: http://bugs.python.org/file10838/multiprocessing_closed.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3311> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com