Module Name:    src
Committed By:   mrg
Date:           Mon Apr 12 09:17:10 UTC 2021

Modified Files:
        src/lib/libskey: put.c

Log Message:
avoid an unlikely buffer truncation.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/lib/libskey/put.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libskey/put.c
diff -u src/lib/libskey/put.c:1.14 src/lib/libskey/put.c:1.15
--- src/lib/libskey/put.c:1.14	Thu Oct  3 17:08:26 2019
+++ src/lib/libskey/put.c	Mon Apr 12 09:17:10 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: put.c,v 1.14 2019/10/03 17:08:26 christos Exp $	*/
+/*	$NetBSD: put.c,v 1.15 2021/04/12 09:17:10 mrg Exp $	*/
 
 /* S/KEY v1.1b (put.c)
  *
@@ -12,7 +12,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: put.c,v 1.14 2019/10/03 17:08:26 christos Exp $");
+__RCSID("$NetBSD: put.c,v 1.15 2021/04/12 09:17:10 mrg Exp $");
 
 #include <stdio.h>
 #include <string.h>
@@ -2122,7 +2122,7 @@ int etob(char *out, const char *e)
 {
   char *word;
   int i, p, v, l, low, high;
-  char b[9];
+  char b[11];
   char input[36];
   char *last;
 

Reply via email to