mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
Correct uninitialized data problem in marshal code.
This commit is contained in:
parent
401d09dca2
commit
aac0f75b3b
@ -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…
Reference in New Issue
Block a user