Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Apr 2026 15:57:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 294522] ctld matches TargetName case-sensitively during new iSCSI connections
Message-ID:  <bug-294522-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294522-227>