Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Aug 2025 20:44:27 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 289115] ctld incorrectly test LUN duplication
Message-ID:  <bug-289115-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289115

            Bug ID: 289115
           Summary: ctld incorrectly test LUN duplication
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: slw@zxy.spb.ru

After rewrote ctld to C++ protected member of struct target declarate as
std::array<struct lun *, MAX_LUNS> t_luns;
As result all member of t_luns has indeterminate value and no LUNs can be
defined in config -- all failed as "ctld: duplicate LUN".

For correct this declare as std::array<struct lun *, MAX_LUNS> t_luns{};

-- 
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-289115-227>