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 2013年07月16日 01:32 by vstinner, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (4) | |||
|---|---|---|---|
| msg193143 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2013年07月16日 01:32 | |
Callers of the new_string() function do not check if the function succeed or not. Python does crash if the function failed, for example in get_coding_spec(): char* r = new_string(begin, t - begin); char* q = get_normal_name(r); Using pytracemalloc tool, it's easy to tricker this issue (ex: using test_future or test_parser): see issue #18408. |
|||
| msg193149 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年07月16日 02:17 | |
New changeset c3a510b22218 by Benjamin Peterson in branch '3.3': check the return value of new_string() (closes #18470) http://hg.python.org/cpython/rev/c3a510b22218 New changeset 8889c9b5dd3a by Benjamin Peterson in branch '3.3': merge 3.3 (#18470) http://hg.python.org/cpython/rev/8889c9b5dd3a |
|||
| msg193150 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2013年07月16日 02:41 | |
The fix has not been merged into default. |
|||
| msg193152 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年07月16日 03:47 | |
New changeset 2650127ce034 by Benjamin Peterson in branch 'default': merge 3.3 (closes #18470) http://hg.python.org/cpython/rev/2650127ce034 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:48 | admin | set | github: 62670 |
| 2013年07月16日 03:47:54 | python-dev | set | status: open -> closed resolution: fixed messages: + msg193152 |
| 2013年07月16日 02:41:48 | vstinner | set | status: closed -> open resolution: fixed -> (no value) messages: + msg193150 |
| 2013年07月16日 02:17:27 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg193149 resolution: fixed stage: resolved |
| 2013年07月16日 01:36:05 | vstinner | set | nosy:
+ benjamin.peterson |
| 2013年07月16日 01:32:23 | vstinner | create | |