• J
    Parse integers more carefully, cont'd. · 5d254191
    Jim Meyering 提交于
    * qemud/qemud.c: Replace uses of strtol with uses of xstrtol_i.
      Avoid overflow for very large --timeout=N values.
    * src/nodeinfo.c: In linuxNodeInfoMemPopulate and
      linuxNodeInfoCPUPopulate, use xstrtol_i rather than strtol.
      Unlike in qemud.c, here we allow trailing "isspace", and in
      the case of "cpuinfo cpu MHz", also allow a "." terminator,
      since we ignore the decimal and any following digits.
    * src/internal.h: Define xstrtol_ui, too.
    
    
    Author: Jim Meyering <meyering@redhat.com>
    5d254191
可在Tags中查看这些版本中当前仓库的状态.
ChangeLog 194.6 KB