bpo-36352: Avoid hardcoded MAXPATHLEN size in getpath.c by vstinner · Pull Request #12423 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Merged

vstinner merged 4 commits intopython:masterfrom

vstinner:joinpath

Mar 19, 2019

Merged

Conversation

@vstinner

Copy link Copy Markdown

Member

@vstinner vstinner commented

Mar 19, 2019

edited by bedevere-bot

Loading

  • Use Py_ARRAY_LENGTH() rather than hardcoded MAXPATHLEN in getpath.c
  • Pass string length to functions modifying strings

https://bugs.python.org/issue36352

* Use Py_ARRAY_LENGTH() rather than hardcoded MAXPATHLEN in getpath.c
* Pass string length to functions modifying strings

@vstinner vstinner merged commit faddaed into python:master

Mar 19, 2019

@vstinner vstinner deleted the joinpath branch

March 19, 2019 01:58

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner @the-knights-who-say-ni @bedevere-bot