diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-10-20 21:25:23 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-10-20 21:25:23 (GMT) |
commit | b8ffb60ec68f1ddbbfc8efe0617038537347f46d (patch) | |
tree | 628ac12df201be4fcc07b95acd02d41f78fc92c3 /Python/symtable.c | |
parent | 05ed69590bf9ab4907c070c82d2490fb6df4978c (diff) | |
download | cpython-b8ffb60ec68f1ddbbfc8efe0617038537347f46d.zip cpython-b8ffb60ec68f1ddbbfc8efe0617038537347f46d.tar.gz cpython-b8ffb60ec68f1ddbbfc8efe0617038537347f46d.tar.bz2 |
fix uninitialized struct member #10152
Diffstat (limited to 'Python/symtable.c')
-rw-r--r-- | Python/symtable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/symtable.c b/Python/symtable.c index 4a6c523..15ba6b5 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -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; |