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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.10.0
    • Impala 2.10.0
    • Backend
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: