New submission from Stefan Krah <stefan-use...@bytereef.org>: 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). ---------- files: ste_tmpname.patch keywords: patch messages: 119198 nosy: skrah priority: normal severity: normal status: open title: symtable.c: ste_tmpname uninitialized Added file: http://bugs.python.org/file19293/ste_tmpname.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10152> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com