mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +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.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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue