summaryrefslogtreecommitdiff
path: root/src/system/dlt-system-process-handling.c
diff options
context:
space:
mode:
authorAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2013-07-25 15:28:54 +0200
committerAlexander Wenzel <Alexander.AW.Wenzel@bmw.de>2013-07-26 09:14:41 +0200
commit2e7db1befc1375f1f097f9736340205fbc350550 (patch)
treebdf114c97a3b4eb9a87107426d5f9dac06ccc222 /src/system/dlt-system-process-handling.c
parent7f18f68cc730024d1053255557cc10c788f8627d (diff)
downloadDLT-daemon-2e7db1befc1375f1f097f9736340205fbc350550.tar.gz
Fixed: Security Issue by Command Injection in DLT System.
Signed-off-by: Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
Diffstat (limited to 'src/system/dlt-system-process-handling.c')
-rw-r--r--src/system/dlt-system-process-handling.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system/dlt-system-process-handling.c b/src/system/dlt-system-process-handling.c
index 72a2785..c23bcca 100644
--- a/src/system/dlt-system-process-handling.c
+++ b/src/system/dlt-system-process-handling.c
@@ -121,7 +121,8 @@ void start_threads(DltSystemConfiguration *config)
start_systemd_watchdog(config);
#endif
- init_shell();
+ if(config->Shell.Enable)
+ init_shell();
if(config->LogFile.Enable)
start_logfile(config);