Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssh/dist bump buffer sizes



details:   https://anonhg.NetBSD.org/src/rev/aeba171b7c68
branches:  trunk
changeset: 455161:aeba171b7c68
user:      christos <christos%NetBSD.org@localhost>
date:      Wed Oct 09 20:59:26 2019 +0000

description:
bump buffer sizes

diffstat:

 crypto/external/bsd/openssh/dist/hostfile.c |  6 +++---
 crypto/external/bsd/openssh/dist/sshkey.c   |  6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r f0fe50be8022 -r aeba171b7c68 crypto/external/bsd/openssh/dist/hostfile.c
--- a/crypto/external/bsd/openssh/dist/hostfile.c       Wed Oct 09 19:58:51 2019 +0000
+++ b/crypto/external/bsd/openssh/dist/hostfile.c       Wed Oct 09 20:59:26 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: hostfile.c,v 1.13 2019/01/27 02:08:33 pgoyette Exp $   */
+/*     $NetBSD: hostfile.c,v 1.14 2019/10/09 20:59:26 christos Exp $   */
 /* $OpenBSD: hostfile.c,v 1.73 2018/07/16 03:09:13 djm Exp $ */
 
 /*
@@ -39,7 +39,7 @@
  */
 
 #include "includes.h"
-__RCSID("$NetBSD: hostfile.c,v 1.13 2019/01/27 02:08:33 pgoyette Exp $");
+__RCSID("$NetBSD: hostfile.c,v 1.14 2019/10/09 20:59:26 christos Exp $");
 #include <sys/types.h>
 #include <sys/stat.h>
 
@@ -124,7 +124,7 @@
        struct ssh_hmac_ctx *ctx;
        u_char salt[256], result[256];
        char uu_salt[512], uu_result[512];
-       static char encoded[1024];
+       static char encoded[2048];
        u_int len;
 
        len = ssh_digest_bytes(SSH_DIGEST_SHA1);
diff -r f0fe50be8022 -r aeba171b7c68 crypto/external/bsd/openssh/dist/sshkey.c
--- a/crypto/external/bsd/openssh/dist/sshkey.c Wed Oct 09 19:58:51 2019 +0000
+++ b/crypto/external/bsd/openssh/dist/sshkey.c Wed Oct 09 20:59:26 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sshkey.c,v 1.19 2019/04/20 17:16:40 christos Exp $     */
+/*     $NetBSD: sshkey.c,v 1.20 2019/10/09 20:59:26 christos Exp $     */
 /* $OpenBSD: sshkey.c,v 1.73 2019/01/21 09:54:11 djm Exp $ */
 /*
  * Copyright (c) 2000, 2001 Markus Friedl.  All rights reserved.
@@ -26,7 +26,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 #include "includes.h"
-__RCSID("$NetBSD: sshkey.c,v 1.19 2019/04/20 17:16:40 christos Exp $");
+__RCSID("$NetBSD: sshkey.c,v 1.20 2019/10/09 20:59:26 christos Exp $");
 
 #include <sys/types.h>
 #include <netinet/in.h>
@@ -2665,7 +2665,7 @@
 size_t
 sshkey_format_cert_validity(const struct sshkey_cert *cert, char *s, size_t l)
 {
-       char from[32], to[32], ret[64];
+       char from[32], to[32], ret[128];
        time_t tt;
        struct tm *tm;
 



Home | Main Index | Thread Index | Old Index