diff options
author | Guido van Rossum <guido@python.org> | 1992-08-19 16:40:53 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-08-19 16:40:53 (GMT) |
commit | 2b81dc9c00f5000fd5c1c9aac8b666ccc7f0a1a6 (patch) | |
tree | e4122e0aaaa132bcfb2f5b72d4e9c90e9f653a6f /Python | |
parent | 7268c93c5536471d544a5249a0c275a9f208c2c6 (diff) | |
download | cpython-2b81dc9c00f5000fd5c1c9aac8b666ccc7f0a1a6.zip cpython-2b81dc9c00f5000fd5c1c9aac8b666ccc7f0a1a6.tar.gz cpython-2b81dc9c00f5000fd5c1c9aac8b666ccc7f0a1a6.tar.bz2 |
fix *serious* (new) bug in evalfile: forgot to initialize s!!!
Diffstat (limited to 'Python')
-rw-r--r-- | Python/bltinmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ builtin_execfile(self, v) "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; |