This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2010年05月10日 23:32 by pitrou, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| sslweakref.patch | pitrou, 2010年06月24日 16:09 | |||
| Messages (3) | |||
|---|---|---|---|
| msg105481 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2010年05月10日 23:32 | |
PyWeakref_GetObject() returns a borrowed reference, which can therefore become invalid at any time (especially when the GIL gets released). This provides a way to crash the interpreter deliberately. The returned reference should be incref'ed immediately before any other action is taken. |
|||
| msg108526 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2010年06月24日 16:09 | |
Here is a patch. Will commit soon if there's no remarks. |
|||
| msg108560 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2010年06月24日 23:00 | |
Committed in r82204 (py3k) and r82205 (3.1). |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:00 | admin | set | github: 52928 |
| 2010年06月24日 23:00:17 | pitrou | set | status: open -> closed resolution: fixed messages: + msg108560 stage: needs patch -> resolved |
| 2010年06月24日 16:09:09 | pitrou | set | files:
+ sslweakref.patch nosy: + exarkun, janssen, giampaolo.rodola messages: + msg108526 keywords: + patch |
| 2010年05月10日 23:32:10 | pitrou | create | |