
2 Mar
2010
2 Mar
'10
5:41 p.m.
According to Jim Meyering on 3/2/2010 9:54 AM:
It's easier/better here just to handle the potential trouble:
* src/qemu/qemu_driver.c (qemudDomainAttachSCSIDisk): Handle the (theoretical) case of an empty controller list, so that clang does not think the subsequent dereference of "cont" would dereference an undefined variable (due to preceding loop not iterating even once).
ACK. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org