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

New Defects reported by Coverity Scan for HPCC-Platform on 25th of December

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 7.0.0
    • Component/s: Roxie
    • Labels:
      None
    • Environment:
      OBT

      Description

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

      *** CID 1463299:  Control flow issues  (STRAY_SEMICOLON)
      /mnt/disk1/home/vamosax/build/CE/platform/HPCC-Platform/roxie/ccd/ccdlistener.cpp: 1561 in RoxieProtocolMsgContext::noteQuery(const char *, bool, unsigned int, unsigned int, unsigned int, unsigned int, bool)()
      1555                     if (localId && *localId)
      1556                     {
      1557                         if (txIds.length())
      1558                             txIds.append(", ");
      1559                         txIds.append("local: ").append(localId);
      1560                     }
      >>>     CID 1463299:  Control flow issues  (STRAY_SEMICOLON)
      >>>     An "if" statement with no "then" or "else" is suspicious.
      1561                     if (txIds.length());
      1562                         txIds.insert(0, '[').append(']');
      1563                     logctx->CTXLOG("COMPLETE: %s %s%s from %s complete in %d msecs memory=%d Mb priority=%d slavesreply=%d resultsize=%d continue=%d%s", queryName.get(), uid.get(), txIds.str(), peer, elapsed, memused, getQueryPriority(), slavesReplyLen, bytesOut, continuationNeeded, s.str());
      1564                 }
      1565             }
      1566         }

      To view the defects in Coverity Scan visit, https://u2389337.ct.sendgrid.net/wf/click?upn=08onrYu34A-2BWcWUl-2F-2BfV0V05UPxvVjWch-2Bd2MGckcRaNjvQL1JwbRRXECNADpFWbJmd1u5Ft08MVOUAWsoMXj3-2FOk3grCOW6BgQyMmqdP24-3D_V7u2yOhiGAr-2Biu54nFTzz4SZHmgCCBFa0WMVUxQKCX9x-2BLEACnAvKPSz7fhClZkllu7zuxPHCe66B04qCHvg9FBqqpyVcrWZXZqwwzw-2F6oegfRrp-2Fd-2F203YIZsPdNJZG0rTzUyyF-2F3ZUdHH-2BbwlOm9Z6hP-2FNfb3LpE-2F7uY6-2FMdaWRHyyTas8eCwidImZlzC1UuxhQYtYLWMDjcoiyxvfFo5loq-2BH5MFf-2ByGOPj3K7Rw-3D

        Attachments

          Activity

            People

            • Assignee:
              afishbeck Anthony Fishbeck
              Reporter:
              attilavamos Attila Vamos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: