• E
    virsh: avoid strtol · bb65c8af
    Eric Blake 提交于
    We were forgetting to check errno for overflow.
    
    * tools/virsh.c (get_integer_keycode, vshCommandOptInt)
    (vshCommandOptUInt, vshCommandOptUL, vshCommandOptLongLong)
    (vshCommandOptULongLong): Rewrite to be safer.
    bb65c8af
virsh.c 585.1 KB