From 5449f78b713cb033281266bbb9f46a1de4b8f89e Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Fri, 17 Aug 2018 14:30:27 +0200 Subject: [PATCH] added disabling networking when executing command line functionality Auto-testing solution tapes could cause crashes if network was enabled. --- src/init.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/init.c b/src/init.c index 1d3085c5..965706fe 100644 --- a/src/init.c +++ b/src/init.c @@ -5051,6 +5051,9 @@ void Execute_Command(char *command) { Error(ERR_EXIT_HELP, "unrecognized command '%s'", command); } + + /* disable networking if any valid command was recognized */ + options.network = setup.network_mode = FALSE; } static void InitSetup() -- 2.34.1