]> granicus.if.org Git - python/commit
Issue #9566: recv(), recvfrom(), send(), sendall() and sendto() methods
authorVictor Stinner <victor.stinner@gmail.com>
Mon, 24 Jun 2013 21:47:41 +0000 (23:47 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Mon, 24 Jun 2013 21:47:41 +0000 (23:47 +0200)
commit9a644b23cc5ab83fc56ea18dceb4c3b34e653f73
tree8ac095fa8b221b16a8641b5133cffbdb10919b38
parent7b2513589f0456ce02ee0dda51da6baa281b3f59
Issue #9566: recv(), recvfrom(), send(), sendall() and sendto() methods
of socket.socket objects now truncate the input buffer to INT_MAX bytes on
Windows to avoid an integer overflow.

(sendall() still send the whole buffer.)
Modules/socketmodule.c