summaryrefslogtreecommitdiff
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-07-02 18:42:21 +0100
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-07-02 18:42:21 +0100
commit7533dccc560e295a63f029bde94d9679e3c7200e (patch)
tree98b99dcad7485b042b8ed608b9e42a64d30436c4 /Python/marshal.c
parent8fad23493454b223d132c9ff9373282b530263e3 (diff)
downloadcpython-7533dccc560e295a63f029bde94d9679e3c7200e.tar.gz
Correct uninitialized data problem in marshal code.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index c749bb3357..35fcd3afb3 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -1339,6 +1339,7 @@ marshal_load(PyObject *self, PyObject *f)
rf.depth = 0;
rf.fp = NULL;
rf.readable = f;
+ rf.current_filename = NULL;
result = read_object(&rf);
}
Py_DECREF(data);