mirror of
https://github.com/troglobit/finit.git
synced 2026-11-19 19:40:50 +00:00
Fix potential buffer overruns found by GCC 8.2
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
67cd88cd23
commit
510b36645b
4 files changed
+24
-19
No files matched your search
@@ -112,7 +112,7 @@ typedef struct svc {
|
||||
/* For inetd services */
|
||||
inetd_t inetd;
|
||||
int stdin_fd;
|
||||
char iifname[IF_NAMESIZE]; /* Ingress interface for connection */
|
||||
char iifname[IF_NAMESIZE + 1]; /* Ingress interface for connection */
|
||||
|
||||
/* Set for services we need to redirect stdout/stderr to syslog */
|
||||
struct {
|
||||
|
||||
Reference in new issue
Block a user