summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-10-20 21:25:23 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-10-20 21:25:23 (GMT)
commitb8ffb60ec68f1ddbbfc8efe0617038537347f46d (patch)
tree628ac12df201be4fcc07b95acd02d41f78fc92c3 /Python
parent05ed69590bf9ab4907c070c82d2490fb6df4978c (diff)
downloadcpython-b8ffb60ec68f1ddbbfc8efe0617038537347f46d.zip
cpython-b8ffb60ec68f1ddbbfc8efe0617038537347f46d.tar.gz
cpython-b8ffb60ec68f1ddbbfc8efe0617038537347f46d.tar.bz2
fix uninitialized struct member #10152
Diffstat (limited to 'Python')
-rw-r--r--Python/symtable.c1
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;