]> Zhao Yanbai Git Server - minix.git/commitdiff
'service' null pointer dereference fix
authorDavid van Moolenbroek <david@minix3.org>
Tue, 12 May 2009 16:52:00 +0000 (16:52 +0000)
committerDavid van Moolenbroek <david@minix3.org>
Tue, 12 May 2009 16:52:00 +0000 (16:52 +0000)
servers/rs/service.c

index 18039bcf08912d2ae3a9e276497dfe5d677cd77a..a3b12b1bb7d2165cf2954d0b4c813d97d49bfc26 100644 (file)
@@ -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;