[3.12] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503) (GH-112597)
* 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
fc7e67f51a264c081a83ece59eed08d08cd250de
Parent: bdad5c3
Committed by GitHub <noreply@github.com>
on 12/25/2023, 6:55:08 PM