diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-07-02 17:42:21 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2011-07-02 17:42:21 (GMT) |
commit | aac0f75b3b28513c45116534720e66b0262e2e72 (patch) | |
tree | 876264d62f9300fdaabedbfd2d4db89b092dc873 /Python/marshal.c | |
parent | 401d09dca23ef842929d3ff80891e35fa39c0c3d (diff) | |
download | cpython-aac0f75b3b28513c45116534720e66b0262e2e72.zip cpython-aac0f75b3b28513c45116534720e66b0262e2e72.tar.gz cpython-aac0f75b3b28513c45116534720e66b0262e2e72.tar.bz2 |
Correct uninitialized data problem in marshal code.
Diffstat (limited to 'Python/marshal.c')
-rw-r--r-- | Python/marshal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index c749bb3..35fcd3a 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); |