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

Standardize StringBuffer methods to size_t

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Component/s: JLib
    • Labels:
      None

      Description

      There was a mixture of int, unsigned and size32_t usages within StringBuffer, which could cause overflow and limited it to 32bit or in some cases 2^31.
      Standarize to size_t, but for compatibility reasons leave the serialization format (that uses an unsigned the same).

        Attachments

          Activity

            People

            • Assignee:
              jakesmith Jake Smith
              Reporter:
              jakesmith Jake Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: