[issue36436] Potential null pointer de-reference vulnerability

2019-03-26 Thread wangjiangqiang
New submission from wangjiangqiang <767563...@qq.com>: In Modules/_testcapimodule.c line 4186 and 4187. Allocated memory is used without null check. -- messages: 338875 nosy: wjq-security priority: normal severity: normal status: open title: Potential null pointer de-ref

[issue35993] incorrect use of released memory in Python/pystate.c line 284

2019-02-14 Thread wangjiangqiang
wangjiangqiang <767563...@qq.com> added the comment: Just create a temporary node points to the next node before release the current node. change the loop condition if necessary. -- ___ Python tracker <https://bugs.python.org/i

[issue35993] incorrect use of released memory in Python/pystate.c line 284

2019-02-13 Thread wangjiangqiang
New submission from wangjiangqiang <767563...@qq.com>: the code is trying to visit a link list in a loop, it tries to visit the next node in line 284 "interp = interp->next" while the current node is freed in line 296 &q

[issue35991] potential double free in Modules/_randommodule.c line 295 and line 317

2019-02-13 Thread wangjiangqiang
wangjiangqiang <767563...@qq.com> added the comment: line 295 calls PyMem_Free(key),then "key" was freed again in line 317 which causes the bug. -- ___ Python tracker <https://bugs.py

[issue35993] incorrect use of released memory in Python/pystate.c line 284

2019-02-13 Thread wangjiangqiang
Change by wangjiangqiang <767563...@qq.com>: -- nosy: wjq-security priority: normal severity: normal status: open title: incorrect use of released memory in Python/pystate.c line 284 type: security ___ Python tracker <https://bugs.p

[issue35991] potential double free in Modules/_randommodule.c line 295 and line 317

2019-02-13 Thread wangjiangqiang
Change by wangjiangqiang <767563...@qq.com>: -- nosy: wjq-security priority: normal severity: normal status: open title: potential double free in Modules/_randommodule.c line 295 and line 317 type: security ___ Python tracker