From 11806809aad98db88fa08c91c2c8a77fd9263f48 Mon Sep 17 00:00:00 2001 From: mestre Date: Sun, 5 Aug 2018 09:37:05 +0000 Subject: [PATCH] Since -s argument is no longer checked, during reexec, the argv size then must be shortened by 1. OK florian@ --- usr.sbin/rad/rad.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/rad/rad.c b/usr.sbin/rad/rad.c index 81265d93736..3be3de92e3f 100644 --- a/usr.sbin/rad/rad.c +++ b/usr.sbin/rad/rad.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rad.c,v 1.14 2018/08/04 09:37:17 florian Exp $ */ +/* $OpenBSD: rad.c,v 1.15 2018/08/05 09:37:05 mestre Exp $ */ /* * Copyright (c) 2018 Florian Obser @@ -351,7 +351,7 @@ main_shutdown(void) static pid_t start_child(int p, char *argv0, int fd, int debug, int verbose) { - char *argv[7]; + char *argv[6]; int argc = 0; pid_t pid; -- 2.20.1