Message193143
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. |
|
Date |
User |
Action |
Args |
2013-07-16 01:32:23 | vstinner | set | recipients:
+ vstinner |
2013-07-16 01:32:23 | vstinner | set | messageid: <1373938343.57.0.731932507548.issue18470@psf.upfronthosting.co.za> |
2013-07-16 01:32:23 | vstinner | link | issue18470 messages |
2013-07-16 01:32:23 | vstinner | create | |
|