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

New defects reported by Coverity Scan for HPCC-Platform on 17th of September.

    XMLWordPrintable

    Details

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

      Description

      New defect(s) Reported-by: Coverity Scan Showing 1 of 1 defect(s)

      *** CID 1473350:  Error handling issues  (CHECKED_RETURN)
      /mnt/disk1/home/vamosax/build/CE/platform/HPCC-Platform/system/security/securesocket/securesocket.cpp: 1718 in CSecureSmartSocketFactory::connect_timeout(unsigned int)()
      1712             Owned<ISecureSocket> ssock;
      1713             Owned<ISocket> sock = connect_sock(timeoutms, ss, ep);
      1714             try
      1715             {
      1716                 ssock.setown(secureContext->createSecureSocket(sock.getClear()));
      1717                 // secure_connect may also DBGLOG() errors ...
      >>>     CID 1473350:  Error handling issues  (CHECKED_RETURN)
      >>>     Calling "secure_connect" without checking return value (as is done elsewhere 5 out of 6 times).
      1718                 ssock->secure_connect();
      1719             }
      1720             catch (IException *)
      1721             {
      1722                 ss->status = false;
      1723                 throw;
        

       

      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-2FlEFg5vqux4F9vJMDX6KE8GbLDCrMIVbZ-2F7CRPtgIXxDFYfJD1yiDTdZ2RBA6wDaNZ2-2Bq9mviDhEdpVaCw8V6DVwLDCxf90fJALdcYxbUGYDfJUIEZF-2F2JT79HIv8uV2Mm-2BCN2A-2FnGpYYN3Wm-2B1a7kBimaAyLbvM-2FLmMioOm-2BC8w-2B7faP7-2FVVDXE23Odeh2-2Biz-2FxXKq2mVyjvM-3D

        Attachments

          Activity

            People

            • Assignee:
              russwhitehead Russ Whitehead
              Reporter:
              attilavamos Attila Vamos
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: