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

           Summary: nwam_known_wlan_add_to_known_wlans() segvs if passed a
                    NULL BSSID
    Classification: Development
           Product: nwam
           Version: unspecified
          Platform: ANY/Generic
        OS/Version: All
            Status: ACCEPTED
          Severity: minor
          Priority: P2
         Component: ON library
        AssignedTo: alan.maguire at sun.com
        ReportedBy: alan.maguire at sun.com
         QAContact: nwam-dev at opensolaris.org


we strdup() the bssid regardless of whether it is NULL or not. The code needs
to be reorganized around two cases:

- the known WLAN exists. If so, we add the properties, including BSSID if
necessary
- the known WLAN is new. We create it and add the properties, including BSSID
if necessary

This seems like it may be related to defect 10377 as the GUI doesn't specify
BSSID when selecting. As a consequence we may have triggered an nwamd
segmentation fault after connect when we add the WLAN to our known list. This
would mean the wlan wasn't added even though connect succeeded. It's also
possible the GUI may have directly called nwam_known_wlan_add_to_known_wlans(),
I'm not sure.

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