SIGN IN SIGN UP

[3.10] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) (GH-112599)

* Fix a crash when pass UINT_MAX.
* Fix an integer overflow on 64-bit non-Windows platforms.
(cherry picked from commit 0daf555c6fb3feba77989382135a58215e1d70a5)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
M
Miss Islington (bot) committed
32e7acdc05a3adb9a32c65242c63eb456696dfb6
Parent: b6535ea
Committed by GitHub <noreply@github.com> on 1/17/2024, 1:49:40 PM