From 71c39f518fc3070d44b3ec0fa07ca83e00068f03 Mon Sep 17 00:00:00 2001 From: Ismael Luceno Date: Sat, 8 Jun 2024 21:15:40 +0200 Subject: [PATCH 16/23] killall5: Make path buffer in readproc larger 270 should be enough to store any output from snprintf. Signed-off-by: Ismael Luceno --- sysvtools/killall5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysvtools/killall5.c b/sysvtools/killall5.c index 2775777ee464..2dec9825017e 100644 --- a/sysvtools/killall5.c +++ b/sysvtools/killall5.c @@ -173,7 +173,7 @@ int readproc() PROC *p, *n; struct dirent *d; struct stat st; - char path[256]; + char path[270]; char buf[256]; char *s, *q; unsigned long startcode, endcode; -- 2.44.0 .