Be extra extra careful about what we dereference.
diff --git a/poweroff.c b/poweroff.c
index 007099d..8bb20e9 100644
--- a/poweroff.c
+++ b/poweroff.c
@@ -28,7 +28,10 @@
 {
 #ifdef BB_FEATURE_LINUXRC
 	/* don't assume init's pid == 1 */
-	return(kill(*(find_pid_by_name("init")), SIGUSR2));
+	pid_t *pid = find_pid_by_name("init");
+	if (!pid || *pid<=0)
+		error_msg_and_die("no process killed");
+	return(kill(*pid, SIGUSR2));
 #else
 	return(kill(1, SIGUSR2));
 #endif