diff --git a/common/hush.c b/common/hush.c index 084dd85..832bc7b 100644 --- a/common/hush.c +++ b/common/hush.c @@ -1865,7 +1865,7 @@ int run_command(const char *cmd) { - struct p_context ctx; + struct p_context ctx = {}; int ret; initialize_context(&ctx); @@ -1889,7 +1889,7 @@ static int source_script(const char *path, int argc, char *argv[]) { - struct p_context ctx; + struct p_context ctx = {}; char *script; int ret; @@ -1918,7 +1918,7 @@ { int rcode; struct in_str input; - struct p_context ctx; + struct p_context ctx = {}; int exit = 0; login();