git: c5f61889ead0 - stable/13 - mail: Fix mismatch in array bounds for isign().
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 11 Nov 2022 18:36:39 UTC
The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=c5f61889ead0826e807a252da83c0a930aedb834 commit c5f61889ead0826e807a252da83c0a930aedb834 Author: John Baldwin <jhb@FreeBSD.org> AuthorDate: 2022-09-28 21:05:42 +0000 Commit: John Baldwin <jhb@FreeBSD.org> CommitDate: 2022-11-11 18:18:53 +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 (cherry picked from commit 157436dcbf86a5e51723f222e524e9970066e7c5) --- 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 *