[Libvirt-cim] [PATCH] Fix segfault in DevicePool when network device source is not defined

Kaitlin Rupert kaitlin at linux.vnet.ibm.com
Wed Nov 19 16:20:13 UTC 2008


Jim Fehlig wrote:
> # HG changeset patch
> # User Jim Fehlig <jfehlig at novell.com>
> # Date 1227050707 25200
> # Node ID 5cfd2bb6424ba4f6edd06425466e26c71b5d8a22
> # Parent  087bd497d4ed6fbf1b2a00dac26a7c6f8baf91e2
> Fix segfault in DevicePool when network device source is not defined
> 
> c/s 752 missed one case of using NULL source field of net_device
> structure.  The associated network pool cannot be determined if
> source is undefined, so return a NULL pool ID.
> 
> Signed-off-by: Jim Fehlig <jfehlig at novell.com>
> 
> diff -r 087bd497d4ed -r 5cfd2bb6424b src/Virt_DevicePool.c

+1

-- 
Kaitlin Rupert
IBM Linux Technology Center
kaitlin at linux.vnet.ibm.com




More information about the Libvirt-cim mailing list