exec: osmo_system_nowait2: initalize *pw pointer with NULL

The pointer *pw is only populated when the the parameter *user is given,
otherwise it remains uninitalized while it is used later when the
previleges are being dropped.

Change-Id: Idec7041e9ea17a252aefbf6fa90091ae17fd4fcd
Fixes: CID#209895
diff --git a/src/exec.c b/src/exec.c
index 578e2b1..2a03ba8 100644
--- a/src/exec.c
+++ b/src/exec.c
@@ -211,7 +211,8 @@
  */
 int osmo_system_nowait2(const char *command, const char **env_whitelist, char **addl_env, const char *user)
 {
-	struct passwd _pw, *pw;
+	struct passwd _pw;
+	struct passwd *pw = NULL;
 	int getpw_buflen = sysconf(_SC_GETPW_R_SIZE_MAX);
 	int rc;