From c92e2dde54ed839c1e1ff9271efef2eae7e7b2c3 Mon Sep 17 00:00:00 2001 From: mestre Date: Sun, 5 Aug 2018 09:37:52 +0000 Subject: [PATCH] Since -s argument is no longer checked, during reexec, the argv size then must be shortened by 1. OK florian@ --- sbin/slaacd/slaacd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbin/slaacd/slaacd.c b/sbin/slaacd/slaacd.c index 244ac4350d9..c2d016d4c7a 100644 --- a/sbin/slaacd/slaacd.c +++ b/sbin/slaacd/slaacd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: slaacd.c,v 1.29 2018/08/04 09:36:49 florian Exp $ */ +/* $OpenBSD: slaacd.c,v 1.30 2018/08/05 09:37:52 mestre Exp $ */ /* * Copyright (c) 2017 Florian Obser @@ -333,7 +333,7 @@ main_shutdown(void) static pid_t start_child(int p, char *argv0, int fd, int debug, int verbose) { - char *argv[8]; + char *argv[7]; int argc = 0; pid_t pid; -- 2.20.1