Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-15707

getVMInfo scanf format for 32bit build is not correct.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 6.0.2
    • Fix Version/s: 6.0.2
    • Component/s: JLib
    • Labels:
      None

      Description

      %lu used when variable is not long.

      memsize_t value;
      if (2 == sscanf(&ln[name.length()], "%lu%s", &value, unitStr))

        Attachments

          Activity

            People

            • Assignee:
              mckellyln Mark Kelly
              Reporter:
              mckellyln Mark Kelly
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: