From: SourceForge.net <no...@so...> - 2008-12-19 10:26:38
|
Bugs item #2448141, was opened at 2008-12-19 13:26 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=2448141&group_id=71730 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: OpenHPI Daemon Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Anton Pak (avpak) Assigned to: Nobody/Anonymous (nobody) Summary: Incorrect alarms added to DAT Initial Comment: file: src/alarm.c In functions that detect and add alarm to DAT, the SaHpiAlarmT variable is allocated on stack. So the content of this data structure is undefined. Not all fields of this data structure are filled correctly before adding it to DAT. We have observed hpiSubagent crash due to lack of filling AlarmCond.Name in SaHpiAlarmT. The patch is attached. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=2448141&group_id=71730 |