From 89a85d724765b6b82e0135ee5a1181fdcccea9c6 Mon Sep 17 00:00:00 2001 From: "djm@openbsd.org" Date: Sun, 10 Jun 2018 23:45:41 +0000 Subject: upstream: unbreak SendEnv; patch from tb@ OpenBSD-Commit-ID: fc808daced813242563b80976e1478de95940056 --- readconf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'readconf.c') diff --git a/readconf.c b/readconf.c index 8ff23c05c..8d2029547 100644 --- a/readconf.c +++ b/readconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: readconf.c,v 1.290 2018/06/09 03:01:12 djm Exp $ */ +/* $OpenBSD: readconf.c,v 1.291 2018/06/10 23:45:41 djm Exp $ */ /* * Author: Tatu Ylonen * Copyright (c) 1995 Tatu Ylonen , Espoo, Finland @@ -1404,7 +1404,7 @@ parse_keytypes: filename, linenum); options->send_env = xrecallocarray( options->send_env, options->num_send_env, - options->num_send_env, + options->num_send_env + 1, sizeof(*options->send_env)); options->send_env[options->num_send_env++] = xstrdup(arg); -- cgit v1.2.3