artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c92e3a
)
allocate enough space in start_child() argv for all possible flags
author
jsg
<jsg@openbsd.org>
Mon, 1 Mar 2021 09:50:40 +0000
(09:50 +0000)
committer
jsg
<jsg@openbsd.org>
Mon, 1 Mar 2021 09:50:40 +0000
(09:50 +0000)
ok claudio@
usr.sbin/ldpd/ldpd.c
patch
|
blob
|
history
diff --git
a/usr.sbin/ldpd/ldpd.c
b/usr.sbin/ldpd/ldpd.c
index
e4ea5fd
..
58f7826
100644
(file)
--- a/
usr.sbin/ldpd/ldpd.c
+++ b/
usr.sbin/ldpd/ldpd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ldpd.c,v 1.6
6 2021/01/19 15:23:25 claudio
Exp $ */
+/* $OpenBSD: ldpd.c,v 1.6
7 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;