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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09.03.2014 00:29, Stefan Berger wrote:
From: Stefan Berger <stefanb@xxxxxxxxxxxxxxxxxx>

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@xxxxxxxxxxxxxxxxxx>
---

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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]