Message378615
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 found that this function is called for a total of 43 times. Out of these 43 times, the return value from the function call is checked at 42 instances. This is the only instance where the code misses to check the return value for success or failure.
Once such correct reference usage found in Python/hamt.c at line 2805 . |
|
Date |
User |
Action |
Args |
2020-10-14 13:47:28 | monocle-ai | set | recipients:
+ monocle-ai |
2020-10-14 13:47:28 | monocle-ai | set | messageid: <1602683248.52.0.780024334642.issue42034@roundup.psfhosted.org> |
2020-10-14 13:47:28 | monocle-ai | link | issue42034 messages |
2020-10-14 13:47:27 | monocle-ai | create | |
|