[Libvirt-cim] [PATCH 3 of 3] EC: Validation of client given object path missing

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Fri Jan 11 16:30:06 UTC 2008


Heidi Eckhart wrote:
> # HG changeset patch
> # User Heidi Eckhart <heidieck at linux.vnet.ibm.com>
> # Date 1200052160 -3600
> # Node ID 90746174d66eb4d4ceb2b15633ff348a553ab908
> # Parent  224b84cf00ac2e120d86e15d92ce50fddf6a0105
> EC: Validation of client given object path missing
> 
> 
>          conn = connect_by_classname(_BROKER, CLASSNAME(ref), &s);
>          if (s.rc != CMPI_RC_OK)
> -                goto error1;
> +                goto out;

Should this also check for to see if conn == NULL?

-- 
Kaitlin Rupert
IBM Linux Technology Center
karupert at us.ibm.com




More information about the Libvirt-cim mailing list