]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix uninitialized struct member #10152
authorBenjamin Peterson <benjamin@python.org>
Wed, 20 Oct 2010 21:25:23 +0000 (21:25 +0000)
committerBenjamin Peterson <benjamin@python.org>
Wed, 20 Oct 2010 21:25:23 +0000 (21:25 +0000)
Python/symtable.c

index 4a6c52335bb4564dd77f440717c45c143b2ff198..15ba6b5e2f0c4931a22a5d35073d09abd258a3d9 100644 (file)
@@ -66,6 +66,7 @@ ste_new(struct symtable *st, identifier name, _Py_block_ty block,
     ste->ste_varkeywords = 0;
     ste->ste_opt_lineno = 0;
     ste->ste_opt_col_offset = 0;
+    ste->ste_tmpname = 0;
     ste->ste_lineno = lineno;
     ste->ste_col_offset = col_offset;