
22 Feb
2008
22 Feb
'08
8:24 p.m.
HE> + s = get_elec_by_name(broker, reference, name, _inst); HE> + if (s.rc != CMPI_RC_OK) HE> + goto out; HE> + HE> + s = cu_validate_ref(broker, reference, *_inst); HE> + Assuming the caller checks the status, there shouldn't be an issue, but maybe we shouldn't set _inst until we've validated the path? -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com