Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.11] gh-122133: Authenticate socket connection for socket.socketpair() fallback (GH-122134) #122426

Merged
merged 1 commit into from
Jul 30, 2024

Commits on Jul 29, 2024

  1. pythongh-122133: Authenticate socket connection for `socket.socketpai…

    …r()` fallback (pythonGH-122134)
    
    * Authenticate socket connection for `socket.socketpair()` fallback when the platform does not have a native `socketpair` C API.  We authenticate in-process using `getsocketname` and `getpeername` (thanks to Nathaniel J Smith for that suggestion).
    
    (cherry picked from commit 78df104)
    
    Co-authored-by: Seth Michael Larson <[email protected]>
    Co-authored-by: Gregory P. Smith <[email protected]>
    2 people authored and miss-islington committed Jul 29, 2024
    Configuration menu
    Copy the full SHA
    32ef8ea View commit details
    Browse the repository at this point in the history