From: SourceForge.net <no...@so...> - 2013-05-20 23:15:13
|
Bugs item #3613544, was opened at 2013-05-17 23:48 Message generated for change (Settings changed) made by dr_mohan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=3613544&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: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Michele Baldessari (mbaldessari) >Assigned to: Hemantha Beecherla (hemanthreddy) Summary: build_interconnect_inv_rdr() is missing some ret value assig Initial Comment: --- plugins/oa_soap/oa_soap_inventory.c.orig 2013-05-18 00:18:07.143791560 +0200 +++ plugins/oa_soap/oa_soap_inventory.c 2013-05-18 08:46:00.109755966 +0200 @@ -3336,7 +3336,7 @@ hpi_field.AreaId = local_inventory->info.area_list-> idr_area_head.AreaId; hpi_field.Type = SAHPI_IDR_FIELDTYPE_CUSTOM; - asprintf(&tmp, "InterconnectTrayBay No. = %d", + rv = asprintf(&tmp, "InterconnectTrayBay No. = %d", portmap.interconnectTrayBayNumber); if(rv == -1){ free(tmp); @@ -3366,7 +3366,7 @@ hpi_field.AreaId = local_inventory->info.area_list-> idr_area_head.AreaId; hpi_field.Type = SAHPI_IDR_FIELDTYPE_CUSTOM; - asprintf(&tmp, "portMapStatus = %d",portmap.status); + rv = asprintf(&tmp, "portMapStatus = %d",portmap.status); if(rv == -1){ free(tmp); err("Failed to allocate memory for buffer to \ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=532251&aid=3613544&group_id=71730 |