]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correct uninitialized data problem in marshal code.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Sat, 2 Jul 2011 17:42:21 +0000 (18:42 +0100)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Sat, 2 Jul 2011 17:42:21 +0000 (18:42 +0100)
Python/marshal.c

index c749bb335766efa27a0806c85497f09258697c4a..35fcd3afb3d2d8242fd5ea1330854a31a43e34b3 100644 (file)
@@ -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);