diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-12-02 16:25:55 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-02 16:25:55 (GMT) |
| commit | 059114c0a0bc60c1d180eefa54e8483e3a8e9b5e (patch) | |
| tree | 7b256ad41652484f804e0ff17e4fb470e79f9e70 /Python/pythonrun.c | |
| parent | cab2ef51251cda13a7772997b5c29d0ed860c511 (diff) | |
| download | cpython-059114c0a0bc60c1d180eefa54e8483e3a8e9b5e.zip cpython-059114c0a0bc60c1d180eefa54e8483e3a8e9b5e.tar.gz cpython-059114c0a0bc60c1d180eefa54e8483e3a8e9b5e.tar.bz2 | |
[3.13] gh-126876: Fix socket internal_select() for large timeout (GH-126968) (#127002)
gh-126876: Fix socket internal_select() for large timeout (GH-126968)
If the timeout is larger than INT_MAX, replace it with INT_MAX, in
the poll() code path.
Add an unit test.
(cherry picked from commit b3687ad454c4ac54c8599a10f3ace8a13ca48915)
Co-authored-by: Victor Stinner <vstinner@python.org>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
