Skip to content

Comments

[3.11] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503)#112598

Merged
serhiy-storchaka merged 1 commit intopython:3.11from
miss-islington:backport-0daf555-3.11
Dec 25, 2023
Merged

[3.11] bpo-37013: Fix the error handling in socket.if_indextoname() (GH-13503)#112598
serhiy-storchaka merged 1 commit intopython:3.11from
miss-islington:backport-0daf555-3.11

Conversation

@miss-islington
Copy link
Contributor

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

Co-authored-by: Zackery Spytz [email protected]

…H-13503)

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

Co-authored-by: Zackery Spytz <[email protected]>
@bedevere-app bedevere-app bot added type-crash A hard crash of the interpreter, possibly with a core dump awaiting review labels Dec 1, 2023
@serhiy-storchaka serhiy-storchaka merged commit 1cc594d into python:3.11 Dec 25, 2023
@miss-islington miss-islington deleted the backport-0daf555-3.11 branch January 2, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-crash A hard crash of the interpreter, possibly with a core dump

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants