From df5d296cd9d1fddc54df4c27be083aea82597a20 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 18 Apr 2021 09:51:33 +0200 Subject: [PATCH] initctl: fix too small buffer for extended status Signed-off-by: Joachim Wiberg --- src/initctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/initctl.c b/src/initctl.c index b04e7bda..8013b4b3 100644 --- a/src/initctl.c +++ b/src/initctl.c @@ -631,7 +631,7 @@ static char *status(svc_t *svc, int full) { static char buf[64]; const char *color; - char ok[32] = {0}; + char ok[48] = {0}; char *s; s = svc_status(svc);