[openssh-commits] [openssh] 02/06: use size_t for lengths; GHPR681 from metsw24-max

git+noreply at mindrot.org git+noreply at mindrot.org
Mon Jun 29 17:52:18 AEST 2026


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit fa5416dec1232dc67d979d28942344cdc8086ae6
Author: Damien Miller <djm at mindrot.org>
AuthorDate: Mon Jun 29 17:16:55 2026 +1000

    use size_t for lengths; GHPR681 from metsw24-max
    
    ok dtucker
---
 openbsd-compat/bsd-cygwin_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbsd-compat/bsd-cygwin_util.c b/openbsd-compat/bsd-cygwin_util.c
index c2fd36fee..c182fa44a 100644
--- a/openbsd-compat/bsd-cygwin_util.c
+++ b/openbsd-compat/bsd-cygwin_util.c
@@ -222,7 +222,7 @@ cygwin_ug_match_pattern_list(const char *string, const char *pattern)
 	char sub[1024];
 	int negated;
 	int got_positive;
-	u_int i, subi, len = strlen(pattern);
+	size_t i, subi, len = strlen(pattern);
 
 	got_positive = 0;
 	for (i = 0; i < len;) {

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list