From 2b81dc9c00f5000fd5c1c9aac8b666ccc7f0a1a6 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 19 Aug 1992 16:40:53 +0000 Subject: fix *serious* (new) bug in evalfile: forgot to initialize s!!! --- Python/bltinmodule.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v0.12