[Bug 294522] ctld matches TargetName case-sensitively during new iSCSI connections

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Apr 2026 15:57:43 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294522

            Bug ID: 294522
           Summary: ctld matches TargetName case-sensitively during new
                    iSCSI connections
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

Prior to 15.0, when handling a new iSCSI connection request, ctld would
validate the TargetName in a case-insensitive fashion.  That's because
port_find_in_pg used strcasecmp in stable/14.  But ever since 15.0 (git
4b1aac931465f39c5c26bfa1d5539a428d340f20) the match has been case-sensitive
instead.  That change removed strcasecmp, replacing it by the C++ STL's find
method on std::unordered_map. The change in behavior was unintentional

Original discussion:
https://lists.freebsd.org/archives/dev-commits-src-all/2026-April/071225.html .

-- 
You are receiving this mail because:
You are the assignee for the bug.