diff options
author | djm@openbsd.org <djm@openbsd.org> | 2018-06-10 23:45:41 +0000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2018-06-11 09:50:06 +1000 |
commit | 89a85d724765b6b82e0135ee5a1181fdcccea9c6 (patch) | |
tree | fb74d1e2302eee867a34375831a5627c437ae690 | |
parent | acf4260f0951f89c64e1ebbc4c92f451768871ad (diff) |
upstream: unbreak SendEnv; patch from tb@
OpenBSD-Commit-ID: fc808daced813242563b80976e1478de95940056
-rw-r--r-- | readconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@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); |