Title: gh-144023: prevent follow_symlinks from being allowed with an fd of 0 by AZero13 · Pull Request #144022 · python/cpython · GitHub
Open Graph Title: gh-144023: prevent follow_symlinks from being allowed with an fd of 0 by AZero13 · Pull Request #144022 · python/cpython
X Title: gh-144023: prevent follow_symlinks from being allowed with an fd of 0 by AZero13 · Pull Request #144022 · python/cpython
Description: fd_and_follow_symlinks_invalid lets you use fd and follow_symlinks together if fd is 0. This is incorrect, as 0 is a valid fd. Issue: gh-144023
Open Graph Description: fd_and_follow_symlinks_invalid lets you use fd and follow_symlinks together if fd is 0. This is incorrect, as 0 is a valid fd. Issue: gh-144023
X Description: fd_and_follow_symlinks_invalid lets you use fd and follow_symlinks together if fd is 0. This is incorrect, as 0 is a valid fd. Issue: gh-144023
Opengraph URL: https://github.com/python/cpython/pull/144022
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:83770062-a266-20b3-2f24-8385e823e4b2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | CE0C:26DD3A:1B8CF21:2501043:696EB83D |
| html-safe-nonce | 284280b26ad32c9fa15eb26d79f63ba9982981a1d2875db824314569a0efa35a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRTBDOjI2REQzQToxQjhDRjIxOjI1MDEwNDM6Njk2RUI4M0QiLCJ2aXNpdG9yX2lkIjoiMTU1MjI3MjEwNTMzODIyMjY1MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 565b0f686dfb370d4075bb5161fb9005f598f1cc9c8980684075d6f4e8cbb728 |
| hovercard-subject-tag | pull_request:3186405969 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/144022/files |
| twitter:image | https://avatars.githubusercontent.com/u/83477269?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/83477269?s=400&v=4 |
| og:image:alt | fd_and_follow_symlinks_invalid lets you use fd and follow_symlinks together if fd is 0. This is incorrect, as 0 is a valid fd. Issue: gh-144023 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 39aed5006635ab6f45e6b77d23e73b08a00272a3 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width