diff Python/bltinmodule.c @ 972:7b37b5e71493 legacy-trunk

fix *serious* (new) bug in evalfile: forgot to initialize s!!!
author Guido van Rossum <guido@python.org>
date Wed, 19 Aug 1992 16:40:53 +0000
parents 68b302ad84a1
children 2ed511171809
line wrap: on
line diff
--- a/Python/bltinmodule.c	Tue Aug 18 21:11:18 1992 +0000
+++ b/Python/bltinmodule.c	Wed Aug 19 16:40:53 1992 +0000
@@ -229,6 +229,7 @@
 		    "execfile arguments must be filename[,dict[,dict]]");
 		return NULL;
 	}
+	s = getstringvalue(str);
 	if (strlen(s) != getstringsize(str)) {
 		err_setstr(ValueError, "embedded '\\0' in string arg");
 		return NULL;