http://defect.opensolaris.org/bz/show_bug.cgi?id=10298

           Summary: nwamd cores in nwamd_dlpi_notify()
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: ACCEPTED
 Status Whiteboard: nwam1-build:2009-07-23
          Severity: blocker
          Priority: P1
         Component: ON daemon
        AssignedTo: alan.maguire at sun.com
        ReportedBy: alan.maguire at sun.com
         QAContact: nwam-dev at opensolaris.org


it does so because we pass in a strdup'ed copy of the ncu name and each time we
arrive in this function as a result of getting a DL_NOTE_LINK_{UP|DOWN} we free
this name. As a consequence, the second time we get a DL_NOTE_LINK event we
free already-freed memory. It's better to pass in the ncu->name since this is
allocated for the lifetime of the link NCU and doesn't need to be freed.

-- 
Configure bugmail: http://defect.opensolaris.org/bz/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Reply via email to