From nobody Wed Sep 28 21:06:48 2022 X-Original-To: dev-commits-src-all@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 4Md8F45zLsz4V4TY; Wed, 28 Sep 2022 21:06:48 +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 4Md8F45D6pz3DYG; Wed, 28 Sep 2022 21:06:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664399208; 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=ucANXk60dgyj7LGMNb1p36YE+fE5S+DcS2n5Qm/IZx8=; b=Q5EQpQjqOeQ+aYMobZLj5pOqJv38J5qDTSePZbLYECdXchnsxAfbnQ/v+K6x+7zwjuZ5DF xhFedd4/Bj8wSbkTns2ZI3gTf12TjFdIMxQ6VEroCuGiVTat+hb9nu0hxdEwd7TME5SB2O uL0JubJFNiuJfLIKzYcUQM6uAg25ahAgCQ+2B/uV3IZugpINjQKkxS8lWvNjZjS9z2dglQ v4ya7DTuuAZ8EYY7XB+z45CdITKH52FeAPxBFJwsjb6PTnSgd6aaoJKuatm8oZjh0f6Oj+ wCZqH+TLgehpECAbAzPDv8quuLTejybaNcziNTPHX/0i/ZzBTQVNE9RdclLnjQ== 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 4Md8F44JX5zbqY; Wed, 28 Sep 2022 21:06:48 +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 28SL6mXV037595; Wed, 28 Sep 2022 21:06:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28SL6mi9037594; Wed, 28 Sep 2022 21:06:48 GMT (envelope-from git) Date: Wed, 28 Sep 2022 21:06:48 GMT Message-Id: <202209282106.28SL6mi9037594@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: 157436dcbf86 - main - mail: Fix mismatch in array bounds for isign(). List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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: 157436dcbf86a5e51723f222e524e9970066e7c5 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664399208; 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=ucANXk60dgyj7LGMNb1p36YE+fE5S+DcS2n5Qm/IZx8=; b=JYzCRP6Ti/mlRHjheBQPa1/gXVOgi66BZVpI28KYMpheEW2PdfgoRJetR1s38V59bNzxG7 EGmr1+F2EG6hoDfNOdzVqGUdHpPOVTH7LiSUpZJYmZ1V7cQr38Bkz4k8Ztl/hdOSLGV7WR umeYyUFFB1sxcEL3SAxdhccrYAVOjyd2lfsq32F9EgFg80/ZqKcj0eo+Bhy0KKvXHr4Ver fqpVfQO9/QqJEQ7vx/6QAIZHFXEpTnKw+hosW6c1iMD+M8CxMShmuHwnnP/gTvWsSSjEhC w5iDZ3LrbDUUGuRWToy7p7Sy0akeZEu6qU1kebRNVW2JuGxlo+EJvaf1pX+7aw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664399208; a=rsa-sha256; cv=none; b=id4tJfrsKJY3GfGBdy41WGJjRFRREvW8e2nyEohCJkl/fVS0+UmLO2ko0OJ0atGXPfkl9f XSMW8pb9yScL8snYYCvZcXxbDDKxSLLzRE3tTvMbevdxJuxJKEf5L4inLYjAgieab4VRN2 tdDAoSJNan32rin+6qdF2HSdveY2WKLPfe+QmDUXSGtOsO9Mvs26XmZ33ZgONyiHa+DfeI JqfKB6Opb2lR0Pntmu7L2XFYKfI8nw5vgoeU2IDgWlwsc1VEMuOvRlh+a6m3ipc5ZY9qmZ Bwt0ShVbmfMLMcQtD226r+jZ1H96WvGKT1IGZfxLn4P+AdsIF28XS1Hbb52Vlg== 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=157436dcbf86a5e51723f222e524e9970066e7c5 commit 157436dcbf86a5e51723f222e524e9970066e7c5 Author: John Baldwin AuthorDate: 2022-09-28 21:05:42 +0000 Commit: John Baldwin CommitDate: 2022-09-28 21:05:42 +0000 mail: Fix mismatch in array bounds for isign(). Reviewed by: imp, emaste Reported by: GCC -Warray-parameter Differential Revision: https://reviews.freebsd.org/D36761 --- usr.bin/mail/extern.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.bin/mail/extern.h b/usr.bin/mail/extern.h index 55b412306cdb..aa31733dd26a 100644 --- a/usr.bin/mail/extern.h +++ b/usr.bin/mail/extern.h @@ -153,7 +153,7 @@ int isdate(char *); int isdir(char *); int isfileaddr(char *); int ishead(char *); -int isign(const char *, struct ignoretab []); +int isign(const char *, struct ignoretab [2]); int isprefix(const char *, const char *); void istrncpy(char *, const char *, size_t); const struct cmd *