On 02/11/2015 04:30 AM, Paolo Bonzini wrote: > Avoid truncation of a 64-bit long to a 32-bit int, and check for errno > (especially ERANGE). > > Signed-off-by: Paolo Bonzini > --- > v1->v2: clear errno before strtol > --- > util/cutils.c | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) Reviewed-by: Eric Blake -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org