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

Invalid reference to vector[0] in empty vector

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 7.2.18
    • Fix Version/s: 7.4.0
    • Component/s: Thor
    • Labels:
      None

      Description

      Picked up with sanitizer checks on, the code in thkeyedjoin.cpp:

      -> 478 dst.append(sizeof(unsigned)*parts.size(), &parts[0]);

      Errors if parts.size() is zero. Similar code a little further down too.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: