-
-
Notifications
You must be signed in to change notification settings - Fork 30.7k
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
C API functions like PyErr_SetFromErrnoWithFilename()
can use incorrect error code
#107916
Labels
3.11
only security fixes
3.12
bugs and security fixes
3.13
bugs and security fixes
topic-C-API
type-bug
An unexpected behavior, bug, or error
Comments
serhiy-storchaka
added
type-bug
An unexpected behavior, bug, or error
3.11
only security fixes
topic-C-API
3.12
bugs and security fixes
3.13
bugs and security fixes
labels
Aug 13, 2023
serhiy-storchaka
added a commit
to serhiy-storchaka/cpython
that referenced
this issue
Aug 14, 2023
…PyErr_SetFromErrnoWithFilename() etc
serhiy-storchaka
added a commit
to serhiy-storchaka/cpython
that referenced
this issue
Aug 19, 2023
…PyErr_SetFromErrnoWithFilename() etc
serhiy-storchaka
added a commit
that referenced
this issue
Aug 21, 2023
…SetFromErrnoWithFilename() etc (GH-107929)
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 21, 2023
…PyErr_SetFromErrnoWithFilename() etc (pythonGH-107929) (cherry picked from commit 80bdebd) Co-authored-by: Serhiy Storchaka <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Aug 21, 2023
…PyErr_SetFromErrnoWithFilename() etc (pythonGH-107929) (cherry picked from commit 80bdebd) Co-authored-by: Serhiy Storchaka <[email protected]>
serhiy-storchaka
added a commit
that referenced
this issue
Aug 21, 2023
… PyErr_SetFromErrnoWithFilename() etc (GH-107929) (GH-108206) (cherry picked from commit 80bdebd) Co-authored-by: Serhiy Storchaka <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.11
only security fixes
3.12
bugs and security fixes
3.13
bugs and security fixes
topic-C-API
type-bug
An unexpected behavior, bug, or error
Calling
PyUnicode_DecodeFSDefault()
in C API functionsPyErr_SetFromErrnoWithFilename()
,PyErr_SetExcFromWindowsErrWithFilename()
andPyErr_SetFromWindowsErrWithFilename()
can modify the value oferrno
or the result ofGetLastError()
which are used in these functions.Linked PRs
The text was updated successfully, but these errors were encountered: