git: caaa27df7ba1 - stable/13 - ypldap: Fix mismatch in array bounds for ldapclient().
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Nov 2022 18:36:44 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=caaa27df7ba13cd7d02f9e52b94b0f7dce2741f2 commit caaa27df7ba13cd7d02f9e52b94b0f7dce2741f2 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-10-03 23:10:41 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-11-11 18:18:53 +0000 ypldap: Fix mismatch in array bounds for ldapclient(). Reviewed by: emaste Reported by: GCC -Warray-parameter Differential Revision: https://reviews.freebsd.org/D36807 (cherry picked from commit c41b161812101300570d48b1fdd17600765992dc) --- 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 *);