From nobody Mon Oct 03 23:11:16 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MhGmP12Pdz4V1Y3; Mon, 3 Oct 2022 23:11:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MhGmP0Lcvz3PZK; Mon, 3 Oct 2022 23:11:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664838677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HOGf4q5x7j4NVRUizyta47VrgrMm7Cl4jCFxdQ1e2+o=; b=vToqk7matZxDmkEvq3Kll5TPwMkDo9lYjvamz3U3TDKuc5sgWvOd3OxbvZlh9NGcs3VS/x +/PclO+5VuvBA5S/n7GnUYVFCA+8/PjmfmO+Q0PPpgYdYIuy5gAUJ4aBrCfCDPYt4a40vc /eZPz7N5XD6BS+jQM2AEn/o/trVfg9rDwzfNaz4KkS+JdIt454eVpm7V6tMi6v4XLxZpLz pZOD1ej6r4b9R0nGRTLdSlBrGsWA58O/JIHkmnyUpBQyS3S+Rnq4/XNrRit4rBTk4aG3sn PBv8NphhH+ZHo/hAFnK1+iP7Dz0kSceFft7MR+rGTHTvqfuTwZ6FoCXoaxmjwg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MhGmN6YyKzMdQ; Mon, 3 Oct 2022 23:11:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 293NBGKj065487; Mon, 3 Oct 2022 23:11:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 293NBGYi065486; Mon, 3 Oct 2022 23:11:16 GMT (envelope-from git) Date: Mon, 3 Oct 2022 23:11:16 GMT Message-Id: <202210032311.293NBGYi065486@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: c41b16181210 - main - ypldap: Fix mismatch in array bounds for ldapclient(). List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c41b161812101300570d48b1fdd17600765992dc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664838677; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=HOGf4q5x7j4NVRUizyta47VrgrMm7Cl4jCFxdQ1e2+o=; b=p9Nkz7zcQGmK25uvC2gUmFG5Xias19o5gM12O9ck6sNTK0nk4CxjuMtEf+xh5YwFBqpnyx ogJ+zUkgEepEMoxzQyOsbVXW+CBLUZwr7m81KeModyXIMULq9aZHtNQJCWGiyBTRBhHBCJ +NYN1/pwy+EsmtJ1QtiwUVppdb4jNDZxBzp2j+ehBABJpGMB0p5IJDExAGki/7LKGGPhfB Evh6yc9wFA0It1QPfLjJr6uaMQHkHx+aMxQF5uztnIciP4kIvL+7r1HBglESzGdP6COrIR hdGkT5T+jRuShYclTLj7Kh0j94iv8rNh1mfpcWh7PA6lL4W6BcU9GdHKSxd/FQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664838677; a=rsa-sha256; cv=none; b=hbU/OzFWa6S/Ooes/pwWJfbMxO0+i4cXJ/3vkxdBIFxg8IeQuCWxjkFNrt0DRWH/aZ8NHq 2AZL8eeBUSgF3QGU4XQh+hoF76FivuZ/4j7w7PNnXe+TTl72P9N248MjJ+61/mkiB/FQ1M ZEZa3pPwDTyzebEilUeTrXwnzGlR57MTp7jpbu7nCy8yG/0zOmIpvDj8qonHSuJToWnlY8 KEzXTHeSbh0tfPVG1fdtZnX0G4ZeY3mVLPJBj1QWQoaIOsKZiGwESBxdePtqcF97hORQCO s+vnQFEBdZN+j6u9637Q1zNjNbZDAUArYsLtMdWp1vWkzgN4VGBJ/5yWZnVTQw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c41b161812101300570d48b1fdd17600765992dc commit c41b161812101300570d48b1fdd17600765992dc Author: John Baldwin AuthorDate: 2022-10-03 23:10:41 +0000 Commit: John Baldwin 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 *);