artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65d7598
)
unconditionally zero init size of buffer; ok markus@ deraadt@
author
djm
<djm@openbsd.org>
Thu, 1 Jun 2017 06:58:25 +0000
(06:58 +0000)
committer
djm
<djm@openbsd.org>
Thu, 1 Jun 2017 06:58:25 +0000
(06:58 +0000)
usr.bin/ssh/sshbuf.c
patch
|
blob
|
history
diff --git
a/usr.bin/ssh/sshbuf.c
b/usr.bin/ssh/sshbuf.c
index
c978080
..
c4735fe
100644
(file)
--- a/
usr.bin/ssh/sshbuf.c
+++ b/
usr.bin/ssh/sshbuf.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: sshbuf.c,v 1.1
0 2017/05/31 09:15:42 deraadt Exp $
*/
+/* $OpenBSD: sshbuf.c,v 1.1
1 2017/06/01 06:58:25 djm Exp $
*/
/*
* Copyright (c) 2011 Damien Miller
*
@@
-199,8
+199,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