You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
socket.sendfile(): os.sendfile() can fail with OverflowError on 32-bit system #114077
bpo-38319/gh-16491 (PR #82500) tried to fix the use of os.sendfile() for larger than 2 GiB files on 32-bit FreeBSD. But it only fixed socket.sendfile() for the case when count is false. If count is not false, blocksize is calculated as count - total_sent in the loop, and can cause an integer overflow if count is larger than 2 GiB.
Activity
pythongh-114077: Fix OverflowError in socket.sendfile() when pass cou…
gh-114077: Fix OverflowError in socket.sendfile() when pass count >2G…
pythongh-114077: Fix OverflowError in socket.sendfile() when pass cou…
pythongh-114077: Fix OverflowError in socket.sendfile() when pass cou…
[3.12] gh-114077: Fix OverflowError in socket.sendfile() when pass co…
[3.11] gh-114077: Fix OverflowError in socket.sendfile() when pass co…
avoid sendfile bugs on 32bit machines:
pythongh-114077: Fix OverflowError in socket.sendfile() when pass cou…
pythongh-114077: Fix OverflowError in socket.sendfile() when pass cou…
pythongh-114077: Fix OverflowError in socket.sendfile() when pass cou…