From 3affa4c7963fffe43ad825f362d92e6b133aaa83 Mon Sep 17 00:00:00 2001 From: David van Moolenbroek Date: Tue, 12 May 2009 16:52:00 +0000 Subject: [PATCH] 'service' null pointer dereference fix --- servers/rs/service.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/servers/rs/service.c b/servers/rs/service.c index 18039bcf0..a3b12b1bb 100644 --- a/servers/rs/service.c +++ b/servers/rs/service.c @@ -83,11 +83,10 @@ PRIVATE int req_type; PRIVATE int do_run= 0; /* 'run' command instead of 'up' */ PRIVATE char *req_label; PRIVATE char *req_path; -PRIVATE char *req_args; +PRIVATE char *req_args = ""; PRIVATE int req_major; PRIVATE long req_period; PRIVATE char *req_script; -PRIVATE char *req_label; PRIVATE char *req_ipc; PRIVATE char *req_config = PATH_CONFIG; PRIVATE int req_printep;