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

2019-02-20 Thread STINNER Victor
STINNER Victor added the comment: Thanks wangjiangqiang for the bug report and thanks Stéphane Wirtel for the fix! -- components: +Interpreter Core resolution: -> fixed stage: -> resolved status: open -> closed versions: +Python 3.8 ___ Python

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

2019-02-20 Thread STINNER Victor
STINNER Victor added the comment: New changeset b5409dacc4885146a27d06482b346e55fa12d2ec by Victor Stinner (Stéphane Wirtel) in branch 'master': bpo-35993: Fix _PyInterpreterState_DeleteExceptMain() (GH-11852) https://github.com/python/cpython/commit/b5409dacc4885146a27d06482b346e55fa12d2ec

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

2019-02-20 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: @eric Could you help me for the tests of my PR? Thank you -- nosy: +eric.snow ___ Python tracker ___

[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

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

2019-02-14 Thread Emmanuel Arias
Change by Emmanuel Arias : -- nosy: +eamanu ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-02-14 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: What do you think of this solution? -- nosy: +vstinner stage: patch review -> ___ Python tracker ___

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

2019-02-14 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- keywords: +patch pull_requests: +11884 stage: -> patch review ___ Python tracker ___ ___

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

2019-02-13 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- assignee: -> matrixise nosy: +matrixise ___ Python tracker ___ ___ Python-bugs-list mailing list

[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 "PyMem_RawFree(interp);" --

[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