Message270978
Thanks for the report. You seem to have identified some code from Open SSL as being from Python (e.g. ASN1_PRINTABLE_type() function in a_print.c).
Here’s a quick copy of the details relevant to Python:
V547 Expression 's->sock_fd < 0' is always false. Unsigned type value is never < 0. Modules/socketmodule.c:655
V547 Expression 's->sock_fd < 0' is always false. Unsigned type value is never < 0. Modules/_ssl.c:1702
V547 Expression 'sock->sock_fd < 0' is always false. Unsigned type value is never < 0. Modules/_ssl.c:2018
Suggestion: compare with INVALID_SOCKET
V614 Potentially uninitialized pointer 'sigint_event' used. Modules/_multiprocessing/semaphore.c:120
V728 An excessive check can be simplified. The '||' operator is surrounded by opposite expressions 'quotetabs' and '!quotetabs'. Modules/binascii.c:1453
Null pointer check after use of “def” in _PyState_AddModule(), Python/pystate.c
V595 The 'self->extra' pointer was utilized before it was verified against nullptr. Check lines: 917, 923. Modules/_elementtree.c:917
The first two groups (sock_fd and sigint_event) look like Windows-specific code, and I suspect would be diagnosed with GCC (but building Python with GCC on Windows needs work). |
|
Date |
User |
Action |
Args |
2016-07-22 08:14:56 | martin.panter | set | recipients:
+ martin.panter, paul.moore, tim.golden, zach.ware, steve.dower, pavel-belikov |
2016-07-22 08:14:56 | martin.panter | set | messageid: <1469175296.25.0.246757261649.issue27587@psf.upfronthosting.co.za> |
2016-07-22 08:14:56 | martin.panter | link | issue27587 messages |
2016-07-22 08:14:55 | martin.panter | create | |
|