Author vstinner
Recipients vstinner
Date 2013-07-16.01:32:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:23vstinnersetrecipients: + vstinner
2013-07-16 01:32:23vstinnersetmessageid: <>
2013-07-16 01:32:23vstinnerlinkissue18470 messages
2013-07-16 01:32:23vstinnercreate