Author vstinner
Recipients vstinner
Date 2013-07-16.01:32:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373938343.57.0.731932507548.issue18470@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-07-16 01:32:23vstinnersetrecipients: + vstinner
2013-07-16 01:32:23vstinnersetmessageid: <1373938343.57.0.731932507548.issue18470@psf.upfronthosting.co.za>
2013-07-16 01:32:23vstinnerlinkissue18470 messages
2013-07-16 01:32:23vstinnercreate