[openssh-commits] [openssh] 03/03: upstream: unbreak SendEnv; patch from tb@

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Jun 11 09:50:19 AEST 2018


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 89a85d724765b6b82e0135ee5a1181fdcccea9c6
Author: djm at openbsd.org <djm at openbsd.org>
Date:   Sun Jun 10 23:45:41 2018 +0000

    upstream: unbreak SendEnv; patch from tb@
    
    OpenBSD-Commit-ID: fc808daced813242563b80976e1478de95940056
---
 readconf.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/readconf.c b/readconf.c
index 8ff23c05..8d202954 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 <ylo at cs.hut.fi>
  * Copyright (c) 1995 Tatu Ylonen <ylo at cs.hut.fi>, 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);

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list