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

PlanFragmentExecutor::Close() may crash if Prepare() fails

    Details

      Description

      PlanFragmentExecutor::Close() calls desc_tbl()->ClosePartitionExprs(). If Prepare() fails, desc_tbl() (which points to the RuntimeState member) may be nullptr.

      Easy fix is to only call that method if desc_tbl() is not nullptr.

        Activity

        Show
        henryr Henry Robinson added a comment - https://github.com/apache/incubator-impala/commit/707f71b6ea13487c707337785e785487d2f470f2

          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:

              Development