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


Anurag S. Maskey <Anurag.Maskey at Sun.COM> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|nwamadm wrong output when   |nwamd goes haywire when an
                   |set fmri to a wrong value   |enm with an invalid fmri is
                   |                            |enabled
         AssignedTo|nwam-dev at opensolaris.org    |Anurag.Maskey at Sun.COM
             Status|INCOMPLETE                  |CAUSEKNOWN




--- Comment #3 from Anurag S. Maskey <Anurag.Maskey at Sun.COM>  2009-05-05 
11:24:29 ---
The problem, I think, stems from the following line in
enm.c:nwamd_enm_handle_enable_event():

                state = smf_get_state(fmri);

smf_get_state() returns NULL on error.  I'm guessing the invalid fmri returns
NULL which is then used with strcmp().

Also, state must be free()d when done.

-- 
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.
You are the assignee for the bug.

Reply via email to