Re: [PATCH] domain controller index check

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

 



On 07/08/2013 11:04 PM, jtomko@xxxxxxxxxx wrote:
>I wonder if we should forbid values larger than INT_MAX as well, since
>virDomainDefRejectDuplicateControllers uses -1 as 'no controllers' and
>qemuDomainAssignPCIAddresses uses it for 'no PCI buses'.

>If it overflowed, this could result in some weird errors (but that many PCI
>bridges wouldn't be usable anyway).

>Jan

Yes, you are right. Thanks for your kind mention. 
The index value should be limited in INT_MAX. 
I will resent the patch.

--
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]