
Dan Smith wrote:
This makes cu_compare_ref() assist association providers in avoiding carefully crafted instances to fool the dispatch code. For example, in HostedResourcePool, it (now) uses cu_compare_ref() to make sure the client specified a valid HostSystem, but since ComputerSystem is a CIM_System, if you pass ComputerSystem.Name="<hostname_of_system>", HostedResourcePool would validate Name and proceed.
A very good catch :) ! -- Regards Heidi Eckhart Software Engineer Linux Technology Center - Open Hypervisor heidieck@linux.vnet.ibm.com ************************************************** IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschaeftsfuehrung: Herbert Kircher Sitz der Gesellschaft: Boeblingen Registergericht: Amtsgericht Stuttgart, HRB 243294