commit | 2b81dc9c00f5000fd5c1c9aac8b666ccc7f0a1a6 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Aug 19 16:40:53 1992 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Aug 19 16:40:53 1992 +0000 |
tree | e4122e0aaaa132bcfb2f5b72d4e9c90e9f653a6f | |
parent | 7268c93c5536471d544a5249a0c275a9f208c2c6 [diff] |
fix *serious* (new) bug in evalfile: forgot to initialize s!!!
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 57d9a07..b74cdf1 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c
@@ -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;