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.

Author skrah
Recipients skrah
Date 2010-10-20.10:47:50
SpamBayes Score 7.215452e-05
Marked as misclassified No
Message-id <1287571673.13.0.775838367643.issue10152@psf.upfronthosting.co.za>
In-reply-to
Content
Found by Valgrind:

==3947== Use of uninitialised value of size 8
==3947==    at 0x5716D13: _itoa_word (in /lib/libc-2.8.90.so)
==3947==    by 0x5719F53: vfprintf (in /lib/libc-2.8.90.so)
==3947==    by 0x5743239: vsnprintf (in /lib/libc-2.8.90.so)
==3947==    by 0x4956AF: PyOS_vsnprintf (mysnprintf.c:74)
==3947==    by 0x495661: PyOS_snprintf (mysnprintf.c:47)
==3947==    by 0x49FC1E: symtable_new_tmpname (symtable.c:1092)
==3947==    by 0x4A2CE6: symtable_handle_comprehension (symtable.c:1648)
==3947==    by 0x4A2F7C: symtable_visit_listcomp (symtable.c:1673)
==3947==    by 0x4A1C63: symtable_visit_expr (symtable.c:1363)
==3947==    by 0x4A07C5: symtable_visit_stmt (symtable.c:1178)
==3947==    by 0x4A0BBE: symtable_visit_stmt (symtable.c:1200)
==3947==    by 0x4A08D4: symtable_visit_stmt (symtable.c:1187)



The patch fixes the issue (unless the intent was to use somewhat randomized tmpnames).
History
Date User Action Args
2010-10-20 10:47:53skrahsetrecipients: + skrah
2010-10-20 10:47:53skrahsetmessageid: <1287571673.13.0.775838367643.issue10152@psf.upfronthosting.co.za>
2010-10-20 10:47:51skrahlinkissue10152 messages
2010-10-20 10:47:50skrahcreate