diff Python/marshal.c @ 71136:42193f3ffc94

Correct uninitialized data problem in marshal code.
author Vinay Sajip <vinay_sajip@yahoo.co.uk>
date Sat, 02 Jul 2011 18:42:21 +0100
parents abb6b2363418
children 5467abaaf5eb
line wrap: on
line diff
--- a/Python/marshal.c	Sat Jul 02 17:22:58 2011 +0100
+++ b/Python/marshal.c	Sat Jul 02 18:42:21 2011 +0100
@@ -1339,6 +1339,7 @@
         rf.depth = 0;
         rf.fp = NULL;
         rf.readable = f;
+        rf.current_filename = NULL;
         result = read_object(&rf);
     }
     Py_DECREF(data);