From: SourceForge.net <no...@so...> - 2009-04-06 10:35:01
|
Bugs item #2737059, was opened at 2009-04-06 12:34 Message generated for change (Tracker Item Submitted) made by horakdan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=2737059&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 base library Group: 2.14.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Dan Horak (horakdan) Assigned to: Nobody/Anonymous (nobody) Summary: wrong buffer size used fo memcmp in oh_compare_sensorreading Initial Comment: There is bug in oh_compare_sensorreading() (utils/sahpi_struct_utils.c) when sensor readings with the buffer type are compared - memcmp is used comparing, but with sizeof(SAHPI_SENSOR_BUFFER_LENGTH) as the size instead of plain SAHPI_SENSOR_BUFFER_LENGTH. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=2737059&group_id=71730 |