[openssh-commits] [openssh] 01/04: upstream commit
git+noreply at mindrot.org
git+noreply at mindrot.org
Wed Jun 7 11:31:19 AEST 2017
This is an automated email from the git hooks/post-receive script.
djm pushed a commit to branch master
in repository openssh.
commit cc812baf39b93d5355565da98648d8c31f955990
Author: djm at openbsd.org <djm at openbsd.org>
Date: Thu Jun 1 06:58:25 2017 +0000
upstream commit
unconditionally zero init size of buffer; ok markus@
deraadt@
Upstream-ID: 218963e846d8f26763ba25afe79294547b99da29
---
sshbuf.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/sshbuf.c b/sshbuf.c
index b7a90b5c..de783a36 100644
--- a/sshbuf.c
+++ b/sshbuf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sshbuf.c,v 1.10 2017/05/31 09:15:42 deraadt Exp $ */
+/* $OpenBSD: sshbuf.c,v 1.11 2017/06/01 06:58:25 djm Exp $ */
/*
* Copyright (c) 2011 Damien Miller
*
@@ -201,8 +201,8 @@ sshbuf_reset(struct sshbuf *buf)
buf->cd = buf->d = d;
buf->alloc = SSHBUF_SIZE_INIT;
}
- } else
- explicit_bzero(buf->d, SSHBUF_SIZE_INIT);
+ }
+ explicit_bzero(buf->d, SSHBUF_SIZE_INIT);
}
size_t
--
To stop receiving notification emails like this one, please contact
djm at mindrot.org.
More information about the openssh-commits
mailing list