This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Unchecked return in Modules/posixmodule.c from multiple function calls
Type: enhancement Stage: patch review
Components: Library (Lib) Versions:
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: monocle-ai, python-dev
Priority: normal Keywords: patch

Created on 2020-10-14 15:21 by monocle-ai, last changed 2022-04-11 14:59 by admin.

Pull Requests
URL Status Linked Edit
PR 22696 closed python-dev, 2020-10-14 15:42
Messages (2)
msg378623 - (view) Author: Sagar Pant (monocle-ai) * Date: 2020-10-14 15:21
The return value of a function that is potentially used to initialize a local variable is not checked. Therefore, reading the local variable may result in undefined behavior.

Our AI analyzer flagged it to be a potential bug as it found another usage of the function in the codebase where the return value of the function was checked for success/failure before using it’s parameters.
msg379782 - (view) Author: Sagar Pant (monocle-ai) * Date: 2020-10-27 17:36
Bumping this up for updates.
History
Date User Action Args
2022-04-11 14:59:36adminsetgithub: 86202
2020-10-27 17:36:50monocle-aisetmessages: + msg379782
2020-10-14 21:42:35monocle-aisetcomponents: + Library (Lib), - C API
2020-10-14 15:42:40python-devsetkeywords: + patch
nosy: + python-dev

pull_requests: + pull_request21668
stage: patch review
2020-10-14 15:21:10monocle-aicreate