From: David van Moolenbroek Date: Tue, 12 May 2009 16:52:00 +0000 (+0000) Subject: 'service' null pointer dereference fix X-Git-Tag: v3.1.4~35 X-Git-Url: http://zhaoyanbai.com/repos/dnssec-signzone.html?a=commitdiff_plain;h=3affa4c7963fffe43ad825f362d92e6b133aaa83;p=minix.git 'service' null pointer dereference fix --- 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;