diff options
author | Damien Miller <djm@cvs.openbsd.org> | 2020-01-31 23:08:09 +0000 |
---|---|---|
committer | Damien Miller <djm@cvs.openbsd.org> | 2020-01-31 23:08:09 +0000 |
commit | 14d7bcc41f700cd1ce83321ce4c7098536feda2c (patch) | |
tree | 46d05d29fdfbc7763a551bf587fe57c51c02efc9 /usr.bin/ssh/sshd.c | |
parent | 3e578ae73fe110795144149f886694960da7c2f2 (diff) |
mistake in previous: filling the incorrect buffer
Diffstat (limited to 'usr.bin/ssh/sshd.c')
-rw-r--r-- | usr.bin/ssh/sshd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sshd.c b/usr.bin/ssh/sshd.c index f0917984234..6c7d0a3bf39 100644 --- a/usr.bin/ssh/sshd.c +++ b/usr.bin/ssh/sshd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sshd.c,v 1.546 2020/01/31 22:42:45 djm Exp $ */ +/* $OpenBSD: sshd.c,v 1.547 2020/01/31 23:08:08 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -846,7 +846,7 @@ send_rexec_state(int fd, struct sshbuf *conf) TAILQ_FOREACH(item, &includes, entry) { if ((r = sshbuf_put_cstring(inc, item->selector)) != 0 || (r = sshbuf_put_cstring(inc, item->filename)) != 0 || - (r = sshbuf_put_stringb(m, item->contents)) != 0) + (r = sshbuf_put_stringb(inc, item->contents)) != 0) fatal("%s: buffer error: %s", __func__, ssh_err(r)); } |