
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2018-08-14 20:09 bypablogsal, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 8767 | merged | pablogsal,2018-08-14 20:11 | |
| PR 13237 | merged | pablogsal,2019-05-10 19:55 | |
| Messages (7) | |||
|---|---|---|---|
| msg323538 -(view) | Author: Pablo Galindo Salgado (pablogsal)*![]() | Date: 2018-08-14 20:09 | |
The problem occurs here:https://github.com/python/cpython/blob/master/Python/pystate.c#L185If _PyRuntime.interpreters.next_id < 0 then interp is set to NULL and it will be dereferenced later:interp | |||
| msg324444 -(view) | Author: Pablo Galindo Salgado (pablogsal)*![]() | Date: 2018-08-31 21:49 | |
New changeset95d630e2213fb0ffc197ec440efa3ae3dbb74f8d by Pablo Galindo in branch 'master':bpo-34408: Prevent a null pointer dereference and resource leakage in `PyInterpreterState_New()` (GH-8767)https://github.com/python/cpython/commit/95d630e2213fb0ffc197ec440efa3ae3dbb74f8d | |||
| msg341780 -(view) | Author: Mark Shannon (Mark.Shannon)*![]() | Date: 2019-05-07 17:11 | |
Any reason not to close this issue? | |||
| msg342040 -(view) | Author: STINNER Victor (vstinner)*![]() | Date: 2019-05-10 02:07 | |
> Any reason not to close this issue?Pablo: Do you want to backport your fix to Python 3.7? Python 3.7 has the same bug, no? (I didn't check.) | |||
| msg342127 -(view) | Author: Pablo Galindo Salgado (pablogsal)*![]() | Date: 2019-05-10 20:16 | |
New changeset34ed40f2e56703de04241cbacb306113b59a84f9 by Pablo Galindo in branch '3.7':[3.7]bpo-34408: Prevent a null pointer dereference and resource leakage in `PyInterpreterState_New()` (GH-8767) (GH-13237)https://github.com/python/cpython/commit/34ed40f2e56703de04241cbacb306113b59a84f9 | |||
| msg342128 -(view) | Author: Pablo Galindo Salgado (pablogsal)*![]() | Date: 2019-05-10 20:16 | |
I have backported the fix to 3.7 :) | |||
| msg342137 -(view) | Author: STINNER Victor (vstinner)*![]() | Date: 2019-05-10 21:31 | |
> I have backported the fix to 3.7 :)Ok, thanks. | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:04 | admin | set | github: 78589 |
| 2019-05-10 21:31:16 | vstinner | set | messages: +msg342137 |
| 2019-05-10 20:16:48 | pablogsal | set | status: open -> closed resolution: fixed messages: +msg342128 stage: patch review -> resolved |
| 2019-05-10 20:16:25 | pablogsal | set | messages: +msg342127 |
| 2019-05-10 19:55:08 | pablogsal | set | pull_requests: +pull_request13147 |
| 2019-05-10 02:07:33 | vstinner | set | messages: +msg342040 |
| 2019-05-07 17:11:12 | Mark.Shannon | set | nosy: +Mark.Shannon messages: +msg341780 |
| 2018-08-31 21:49:38 | pablogsal | set | messages: +msg324444 |
| 2018-08-17 17:57:33 | steve.dower | set | nosy: +vstinner,eric.snow |
| 2018-08-14 20:11:14 | pablogsal | set | keywords: +patch stage: patch review pull_requests: +pull_request8243 |
| 2018-08-14 20:09:38 | pablogsal | create | |