FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-86179: Avoid making case-only changes when calculating realpath() during initialization by zooba · Pull Request #113077 · python/cpython · GitHub

Repository navigation

gh-86179: Avoid making case-only changes when calculating realpath() during initialization - #113077

Merged
zooba merged 1 commit into
python:mainfrom
zooba:gh-86179
Dec 14, 2023
Merged

zooba merged 1 commit into
python:mainfrom
zooba:gh-86179

Conversation

zooba commented Dec 14, 2023 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

zooba commented Dec 14, 2023

Copy link
Copy Markdown
Member Author

!buildbot windows

Copy link
Copy Markdown

🤖 New build scheduled with the buildbot fleet by @zooba for commit a56fac8 🤖

The command will test the builders whose names match following regular expression: windows

The builders matched are:

  • AMD64 Windows11 Bigmem PR
  • AMD64 Windows Server 2022 NoGIL PR
  • AMD64 Windows11 Refleaks PR
  • AMD64 Windows10 PR
  • ARM64 Windows Non-Debug PR
  • AMD64 Windows11 Non-Debug PR
  • ARM64 Windows PR

Comment thread Modules/getpath.c
}
}
result = PyUnicode_FromWideChar(p, len);
if (CompareStringOrdinal(path, (int)pathlen, p, len, TRUE) == CSTR_EQUAL) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Can pathlen be larger than INT_MAX?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

No, and if it is, we'll have failed earlier because the API can't handle more than 32K worth of path.

zooba merged commit fd81afc into python:main Dec 14, 2023
zooba deleted the gh-86179 branch December 14, 2023 15:18
corona10 pushed a commit to corona10/cpython that referenced this pull request Dec 15, 2023
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL