artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c361a7
)
Properly terminate the arguments for execv() with NULL.
author
yasuoka
<yasuoka@openbsd.org>
Fri, 18 Aug 2023 06:12:27 +0000
(06:12 +0000)
committer
yasuoka
<yasuoka@openbsd.org>
Fri, 18 Aug 2023 06:12:27 +0000
(06:12 +0000)
usr.sbin/radiusd/radiusd_bsdauth.c
patch
|
blob
|
history
diff --git
a/usr.sbin/radiusd/radiusd_bsdauth.c
b/usr.sbin/radiusd/radiusd_bsdauth.c
index
8df5bad
..
69907bf
100644
(file)
--- a/
usr.sbin/radiusd/radiusd_bsdauth.c
+++ b/
usr.sbin/radiusd/radiusd_bsdauth.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: radiusd_bsdauth.c,v 1.1
4 2019/12/14 15:56:20 millert
Exp $ */
+/* $OpenBSD: radiusd_bsdauth.c,v 1.1
5 2023/08/18 06:12:27 yasuoka
Exp $ */
/*
* Copyright (c) 2015 YASUOKA Masahiko <yasuoka@yasuoka.net>
@@
-418,6
+418,7
@@
start_child(char *argv0, int fd)
argv[argc++] = argv0;
argv[argc++] = "-M"; /* main proc */
+ argv[argc++] = NULL;
execvp(argv0, argv);
fatal("execvp");
}