Skip to content

Comments

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

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

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

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 fc7e67f into python:3.12 Dec 25, 2023
@miss-islington miss-islington deleted the backport-0daf555-3.12 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