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

COVERITY: Uninitialized field in CKeyLevelManager

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: JLib
    • Labels:
      None

      Description

      1 new defect(s) introduced to HPCC-Platform found with Coverity Scan.

      *** CID 1461341:  Uninitialized members  (UNINIT_CTOR)
      /mnt/disk1/home/vamosax/build/CE/platform/HPCC-Platform/system/jhtree/jhtree.cpp: 573 in CKeyLevelManager::CKeyLevelManager(IKeyIndex *, IContextLogger *)()
      567             scans = 0;
      568             skips = 0;
      569             nullSkips = 0;
      570             wildseeks = 0;
      571             transformSegs = false;
      572             activitySegs = &segs;
      >>>     CID 1461341:  Uninitialized members  (UNINIT_CTOR)
      >>>     Non-static class member "eof" is not initialized in this constructor nor in any functions that it calls.
      573         }
      574
      575         ~CKeyLevelManager()
      576         {
      577             free (keyBuffer);
      578             ::Release(keyCursor);

      To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRaNjvQL1JwbRRXECNADpFWbJmd1u5Ft08MVOUAWsoMXj3-2FOk3grCOW6BgQyMmqdP24-3D_V7u2yOhiGAr-2Biu54nFTzz1cdmowKR-2FlEFg5vqux4F9s1brTm0xv6u1DGoXo9Mwj-2B7XNmGLH4TO8kOFOGN34AHkeL7ycsMogIgwWvA7K1wbDHlSZLoZMEb3HbfNWX2MGvXzv35mySlTHUak6hw3Z83-2B9B4Ki-2BzP-2FxHOgz-2Fmt4tilFcpOjOvJCXb25D7hjE8BK2fzPQ8S-2B6RPq0cUXdRjpNR5H5Qy2bZjm-2FuLestJhBrc-3D

        Attachments

          Activity

            People

            • Assignee:
              richardkchapman Richard Chapman
              Reporter:
              attilavamos Attila Vamos
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: