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.12] gh-127208: Reject null character in _imp.create_dynamic() (#127400) #127419

Merged
merged 1 commit into from
Nov 29, 2024

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Nov 29, 2024

_imp.create_dynamic() now rejects embedded null characters in the path and in the module name.

Backport also the _PyUnicode_AsUTF8NoNUL() function.

(cherry picked from commit b14fdad)

…on#127400)

_imp.create_dynamic() now rejects embedded null characters in the
path and in the module name.

Backport also the _PyUnicode_AsUTF8NoNUL() function.

(cherry picked from commit b14fdad)
@vstinner vstinner merged commit e7ab978 into python:3.12 Nov 29, 2024
31 checks passed
@vstinner vstinner deleted the imp_create_dynamic12 branch November 29, 2024 16:03
@vstinner
Copy link
Member Author

Merged, thanks for the review @kumaraditya303.

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.

2 participants