On 04/19/2012 02:24 PM, Eric Blake wrote: > We were forgetting to check errno for overflow. > > * tools/virsh.c (get_integer_keycode, vshCommandOptInt) > (vshCommandOptUInt, vshCommandOptUL, vshCommandOptLongLong) > (vshCommandOptULongLong): Rewrite to be safer. > --- > > v2: get_integer_keycode still must reject 0 > > tools/virsh.c | 67 +++++++++++++++++---------------------------------------- > 1 files changed, 20 insertions(+), 47 deletions(-) ACK. -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list