Skip to content

[3.11] gh-160898: Reject null bytes in socket.getaddrinfo() host and port (GH-160899) - #160977

Open
sethmlarson wants to merge 1 commit into
python:3.11from
sethmlarson:backport-589379e-3.11
Open

sethmlarson wants to merge 1 commit into
python:3.11from
sethmlarson:backport-589379e-3.11

Conversation

@sethmlarson

@sethmlarson sethmlarson commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

This adopts the exact approach from Python 3.13 and 3.12 into 3.11.

(cherry picked from commit 589379e)

…ost and port (pythonGH-160899)

(cherry picked from commit 131a3a6)
(cherry picked from commit ee60d5d)
(cherry picked from commit 589379e)

Co-authored-by: Seth Larson <[email protected]>
Co-authored-by: Stan Ulbrych <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting core review release-blocker topic-socket Related to the socket, socketserver and selectors modules type-security A security issue

Projects

Development

Successfully merging this pull request may close these issues.

1 participant