[libvirt] [PATCH] BZ1072677: Avoid freeing of 0 file descriptor

Michal Privoznik mprivozn at redhat.com
Tue Mar 11 09:23:37 UTC 2014


On 09.03.2014 00:29, Stefan Berger wrote:
> From: Stefan Berger <stefanb at linux.vnet.ibm.com>
>
> Avoid the freeing of an array of zero file descriptors in case
> of error. Introduce a macro VIR_INIT_N_FD to initialize such
> an array's elements to -1.
>
> Signed-off-by: Stefan Berger <stefanb at linux.vnet.ibm.com>
> ---

Just a small nitpick, I'd reword the subject (something among 
'qemu_hotplug: avoid freeing ..' or even 
s/qemu_hotplug/qemuDomainAttachNetDevice/). And then I'd put link to the 
bug on the first line of the commit message.

Michal




More information about the libvir-list mailing list