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

Coverity: Error handling issues (CHECKED_RETURN)

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: ESP
    • Labels:
      None

      Description

      /mnt/disk1/home/vamosax/build/CE/platform/HPCC-Platform/esp/bindings/http/platform/httpservice.cpp: 1338 in CEspHttpServer::handlePasswordExpired(bool)()
      1332         if (sessionAuth)
      1333             m_response->redirect(*m_request.get(), "/esp/updatepasswordinput");
      1334         else
      1335         {
      1336             Owned<IMultiException> me = MakeMultiException();
      1337             me->append(*MakeStringException(-1, "Your ESP password has expired."));
      >>>     CID 1451359:  Error handling issues  (CHECKED_RETURN)
      >>>     Calling "handleExceptions" without checking return value (as is done elsewhere 296 out of 302 times).
      1338             m_response->handleExceptions(nullptr, me, "ESP Authentication", "PasswordExpired", nullptr);
      1339         }
      1340     }
      

        Attachments

          Activity

            People

            • Assignee:
              wangkx Kevin Wang
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: