Date: Fri, 11 Nov 2022 18:36:40 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: efe264f2c2ef - stable/13 - newkey: Fix mismatch in array bounds in for adjust(). Message-ID: <202211111836.2ABIaeNJ003904@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=efe264f2c2eff0c197138410b19c12d7b4961b22 commit efe264f2c2eff0c197138410b19c12d7b4961b22 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-09-28 21:06:16 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-11-11 18:18:53 +0000 newkey: Fix mismatch in array bounds in for adjust(). Reviewed by: emaste Reported by: GCC -Warray-parameter Differential Revision: https://reviews.freebsd.org/D36762 (cherry picked from commit 536f7d84cd061bd5667a4d93fed3f41772197c79) --- usr.bin/newkey/generic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/newkey/generic.c b/usr.bin/newkey/generic.c index 368b051155a4..324cb5b604ad 100644 --- a/usr.bin/newkey/generic.c +++ b/usr.bin/newkey/generic.c @@ -52,7 +52,7 @@ __FBSDID("$FreeBSD$"); #include "extern.h" -static void adjust(char[], char *); +static void adjust(char[HEXKEYBYTES + 1], char *); static void getseed(char *, int, unsigned char *); /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202211111836.2ABIaeNJ003904>