[3.11] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) (GH-112598)
* 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
1cc594d571d8baf37726debd7d4162c51dd77ecc
Parent: 1162d29
Committed by GitHub <noreply@github.com>
on 12/25/2023, 6:55:27 PM