[Bug 279699] ctld: memory leak when a target specifies both portal-group and port

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Jun 2024 21:33:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279699

            Bug ID: 279699
           Summary: ctld: memory leak when a target specifies both
                    portal-group and port
           Product: Base System
           Version: 15.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: asomers@FreeBSD.org

If ctl.conf specifies both portal-group and port for the same target, ctld will
leak memory in kernel_port_add.  Should this be considered a configuration
error?  In this case, some of the portal-group information will not get sent to
the kernel.  That suggests that the configuration is faulty.  But we've allowed
it so far.

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