[issue20251] socket.recvfrom_into crash with empty buffer

2014-03-04 Thread koobs
Changes by koobs : -- nosy: +koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mail

[issue20251] socket.recvfrom_into crash with empty buffer

2014-01-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 3881211cbb19 by Benjamin Peterson in branch '2.7': remove overly strict assertion (closes #20251) http://hg.python.org/cpython/rev/3881211cbb19 New changeset 1885e1768ff9 by Benjamin Peterson in branch '2.7': add test for #20251 http://hg.python.org

[issue20251] socket.recvfrom_into crash with empty buffer

2014-01-13 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8712efe02dcc by Benjamin Peterson in branch '3.3': remove overly strict assertion (closes #20251) http://hg.python.org/cpython/rev/8712efe02dcc New changeset ab9556830560 by Benjamin Peterson in branch 'default': merge 3.3 (#20251) http://hg.python.

[issue20251] socket.recvfrom_into crash with empty buffer

2014-01-13 Thread Vajrasky Kok
New submission from Vajrasky Kok: >>> import socket >>> r, w = socket.socketpair() >>> w.send(b'X' * 1024) 1024 >>> buffer = bytearray() >>> r.recvfrom_into(buffer) python: /home/sky/Code/python/cpython3.4/Modules/socketmodule.c:2867: sock_recvfrom_into: Assertion `buf != 0 && buflen > 0' failed