New submission from Sagar Pant <sagp...@microsoft.com>: 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. ---------- components: C API messages: 378623 nosy: sagar priority: normal severity: normal status: open title: Unchecked return in Modules/posixmodule.c from multiple function calls type: enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42036> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com