mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Correct uninitialized data problem in marshal code.
This commit is contained in:
parent
401d09dca2
commit
aac0f75b3b
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue