http://defect.opensolaris.org/bz/show_bug.cgi?id=14343
--- Comment #2 from amaguire <alan.maguire at sun.com> 2010-02-03 08:46:30 UTC --- (In reply to comment #0) > We are sending out empty internal-only events to listeners. They attempt to > dereference data in them and dump core. These include the check events which > happen every 2min so the GUI dies every 2min. The same will happen for > "nwamadm > show-events". Fix is simple, we only nwamd_event_send() if the event type is > <= > NWAM_EVENT_MAX, since this ensures only externally-visible events will be > sent. actually, there's another problem too. The code in nwam_event_wait() doesn't assign the passed in event pointer any more, so event listeners get back garbled data rather than events. We need to add back the code snippet that resizes and assigns the eventp passed in: 122 /* Resize event down from maximum size */ 123 if ((*eventp = realloc(event, event->nwe_size)) == NULL) 124 return (NWAM_NO_MEMORY); -- 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.
