Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5774

StringFunctions::FindInSet() may read one byte beyond a string's extent

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.10.0
    • Fix Version/s: Impala 2.10.0
    • Component/s: Backend
    • Labels:
      None
    • Epic Color:
      ghx-label-4

      Description

      The following may read str_set.ptr[str_set.len] if no ',' is found.

      while(str_set.ptr[end] != ',' && end < str_set.len) ++end;
      

      (This was discovered by poisoning mempool data from IMPALA-5666).

        Attachments

          Activity

            People

            • Assignee:
              henryr Henry Robinson
              Reporter:
              henryr Henry Robinson
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: