[Libvirt-cim] [PATCH] Fix cu_statusf() call in RASD

Heidi Eckhart heidieck at linux.vnet.ibm.com
Wed Mar 12 09:58:47 UTC 2008


Kaitlin Rupert wrote:
> # HG changeset patch
> # User Kaitlin Rupert <karupert at us.ibm.com>
> # Date 1205258941 25200
> # Node ID 4f17d756b6c3551d1ae0a3aee1939a5ad6963c67
> # Parent  1429af47e9413d5f0bcf51e5a58988177bc32bbf
> Fix cu_statusf() call in RASD.
>
> It's not easy to tell from the diff, but get_rasd_by_ref() takes a const CMPIBroker *broker argument.  So when we fail, we need to use the broker, not the _BROKER that is local to the provider.
>   
An excellent catch - because this would cause a seg fault ! Great, eagle 
eye :).

-- 
Regards

Heidi Eckhart
Software Engineer
IBM Linux Technology Center - Open Hypervisor




More information about the Libvirt-cim mailing list