https://bugzilla.mindrot.org/show_bug.cgi?id=3092

            Bug ID: 3092
           Summary: Inconsistent comment / code
           Product: Portable OpenSSH
           Version: 8.1p1
          Hardware: Other
                OS: Windows 10
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: sshd
          Assignee: [email protected]
          Reporter: [email protected]

Copied the code below. The else loop does the case sensitive (3rd
parameter is 0) match but the comment says it's case insensitive match.


In Match.c file

/* Match a list representing users or groups. */
int
match_usergroup_pattern_list(const char *string, const char *pattern)
{
#ifdef HAVE_CYGWIN
        /* Windows usernames may be Unicode and are not case sensitive
*/
        return cygwin_ug_match_pattern_list(string, pattern);
#else
        /* Case insensitive match */
        return match_pattern_list(string, pattern, 0);
#endif
}

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
[email protected]
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to