Re: [PATCH 2/2] virsh-domain: Report errors on invalid --holdtime value for cmdSendKey

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

 



On 04/18/13 14:44, Eric Blake wrote:
On 04/18/2013 02:51 AM, Peter Krempa wrote:
Using of a incorrect value for the --holdtime option was silently
ignored and 0 was used. In case a negative number was used, it
overflowed as the API expects a unsigned int.

Fix the data type and getter function type and report errors on
incorrect values.
---
  tools/virsh-domain.c | 8 +++++---
  1 file changed, 5 insertions(+), 3 deletions(-)


ACK.


Pushed. Thanks.

Peter

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