commit | aac0f75b3b28513c45116534720e66b0262e2e72 | [log] [tgz] |
---|---|---|
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Sat Jul 02 18:42:21 2011 +0100 |
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | Sat Jul 02 18:42:21 2011 +0100 |
tree | 876264d62f9300fdaabedbfd2d4db89b092dc873 | |
parent | 401d09dca23ef842929d3ff80891e35fa39c0c3d [diff] |
Correct uninitialized data problem in marshal code.
diff --git a/Python/marshal.c b/Python/marshal.c index c749bb3..35fcd3a 100644 --- a/Python/marshal.c +++ b/Python/marshal.c
@@ -1339,6 +1339,7 @@ rf.depth = 0; rf.fp = NULL; rf.readable = f; + rf.current_filename = NULL; result = read_object(&rf); } Py_DECREF(data);