Date: Mon, 3 Oct 2022 23:11:16 GMT From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: c41b16181210 - main - ypldap: Fix mismatch in array bounds for ldapclient(). Message-ID: <202210032311.293NBGYi065486@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c41b161812101300570d48b1fdd17600765992dc commit c41b161812101300570d48b1fdd17600765992dc Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-10-03 23:10:41 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-10-03 23:10:41 +0000 ypldap: Fix mismatch in array bounds for ldapclient(). Reviewed by: emaste Reported by: GCC -Warray-parameter Differential Revision: https://reviews.freebsd.org/D36807 --- usr.sbin/ypldap/ypldap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/ypldap/ypldap.h b/usr.sbin/ypldap/ypldap.h index 07e633fdeca5..702e3a5d06d6 100644 --- a/usr.sbin/ypldap/ypldap.h +++ b/usr.sbin/ypldap/ypldap.h @@ -197,7 +197,7 @@ int parse_config(struct env *, const char *, int); int cmdline_symset(char *); /* ldapclient.c */ -pid_t ldapclient(int []); +pid_t ldapclient(int [2]); /* ypldap.c */ void purge_config(struct env *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202210032311.293NBGYi065486>