diff options
author | 2021-03-01 09:50:40 +0000 | |
---|---|---|
committer | 2021-03-01 09:50:40 +0000 | |
commit | 6d53ef6485123052140d37c03ab9f2ce0f176970 (patch) | |
tree | 1fe336b5e0821f09ef3f7e74904d1a62607b83ca | |
parent | If an anon is associated with a page, acquire its lock before any modification. (diff) | |
download | wireguard-openbsd-6d53ef6485123052140d37c03ab9f2ce0f176970.tar.xz wireguard-openbsd-6d53ef6485123052140d37c03ab9f2ce0f176970.zip |
allocate enough space in start_child() argv for all possible flags
ok claudio@
-rw-r--r-- | usr.sbin/ldpd/ldpd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ldpd/ldpd.c b/usr.sbin/ldpd/ldpd.c index e4ea5fd3f51..58f78264a52 100644 --- a/usr.sbin/ldpd/ldpd.c +++ b/usr.sbin/ldpd/ldpd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ldpd.c,v 1.66 2021/01/19 15:23:25 claudio Exp $ */ +/* $OpenBSD: ldpd.c,v 1.67 2021/03/01 09:50:40 jsg Exp $ */ /* * Copyright (c) 2013, 2016 Renato Westphal <renato@openbsd.org> @@ -323,7 +323,7 @@ static pid_t start_child(enum ldpd_process p, char *argv0, int fd, int debug, int verbose, char *sockname) { - char *argv[5]; + char *argv[7]; int argc = 0; pid_t pid; |