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

Coverity: Potential access of null pointer

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.0
    • Component/s: Dali
    • Labels:
      None

      Description

      ** CID 1436582:  Null pointer dereferences  (FORWARD_NULL)
      /mnt/disk1/home/vamosax/build/CE/platform/HPCC-Platform/dali/base/dacsds.cpp: 755 in CClientRemoteTree::ownPTree(IPropertyTree *)()
      

      The code will never access a null pointer, but it is inefficient - calling QUERYINTERFACE when a static cast could be used instead.

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: