[Python-checkins] cpython: Correct uninitialized data problem in marshal code.
vinay.sajip
python-checkins at python.org
Sat Jul 2 19:42:31 CEST 2011
http://hg.python.org/cpython/rev/42193f3ffc94
changeset: 71136:42193f3ffc94
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Sat Jul 02 18:42:21 2011 +0100
summary:
Correct uninitialized data problem in marshal code.
files:
Python/marshal.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/Python/marshal.c b/Python/marshal.c
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -1339,6 +1339,7 @@
rf.depth = 0;
rf.fp = NULL;
rf.readable = f;
+ rf.current_filename = NULL;
result = read_object(&rf);
}
Py_DECREF(data);
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list