summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-08-19 16:40:53 (GMT)
committerGuido van Rossum <guido@python.org>1992-08-19 16:40:53 (GMT)
commit2b81dc9c00f5000fd5c1c9aac8b666ccc7f0a1a6 (patch)
treee4122e0aaaa132bcfb2f5b72d4e9c90e9f653a6f /Python
parent7268c93c5536471d544a5249a0c275a9f208c2c6 (diff)
downloadcpython-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.c1
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;