Uploaded image for project: 'Apache HAWQ (Retired)'
  1. Apache HAWQ (Retired)
  2. HAWQ-64

Forward NULL issue for ExtractPrincipalFromTicketCache

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0.0-incubating
    • libyarn
    • None

    Description

      According to coverity report, below code has FORWARD NULL issue:
      In apache-hawq/src/backend/resourcemanager/resourcebroker

      if (!cache) {
      if (0 != setenv("KRB5CCNAME", cache, 1))

      { elog(WARNING, "Cannot set env parameter \"KRB5CCNAME\" when extract principal from cache:%s", cache); return NULL; }

      }

      If the cache is NULL, it will be error in setenv.

      Attachments

        Activity

          People

            wlin Wen Lin
            jyao Jiali Yao
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: