
DS> # HG changeset patch DS> # User Dan Smith <danms@us.ibm.com> DS> # Date 1194548973 28800 DS> # Node ID a55a0f630c034ac5ed76211b8459ae1e4fdc56ae DS> # Parent 41c761dba6a6268da6fdb9a89c1cc6f959870aac DS> Make cu_compare_ref() also compare the actual classname of the ref and inst 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. -- Dan Smith IBM Linux Technology Center Open Hypervisor Team email: danms@us.ibm.com