Commit 7533dccc authored by Vinay Sajip's avatar Vinay Sajip

Correct uninitialized data problem in marshal code.

parent 8fad2349
...@@ -1339,6 +1339,7 @@ marshal_load(PyObject *self, PyObject *f) ...@@ -1339,6 +1339,7 @@ marshal_load(PyObject *self, PyObject *f)
rf.depth = 0; rf.depth = 0;
rf.fp = NULL; rf.fp = NULL;
rf.readable = f; rf.readable = f;
rf.current_filename = NULL;
result = read_object(&rf); result = read_object(&rf);
} }
Py_DECREF(data); Py_DECREF(data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment