Our website uses cookies to enhance your browsing experience.
Accept
to the top
close form

Fill out the form in 2 simple steps below:

Your contact information:

Step 1
Congratulations! This is your promo code!

Desired license type:

Step 2
Team license
Enterprise license
** By clicking this button you agree to our Privacy Policy statement
close form
Request our prices
New License
License Renewal
--Select currency--
USD
EUR
* By clicking this button you agree to our Privacy Policy statement

close form
Free PVS‑Studio license for Microsoft MVP specialists
* By clicking this button you agree to our Privacy Policy statement

close form
To get the licence for your open-source project, please fill out this form
* By clicking this button you agree to our Privacy Policy statement

close form
I am interested to try it on the platforms:
* By clicking this button you agree to our Privacy Policy statement

close form
check circle
Message submitted.

Your message has been sent. We will email you at


If you haven't received our response, please do the following:
check your Spam/Junk folder and click the "Not Spam" button for our message.
This way, you won't miss messages from our team in the future.

>
>
>
Examples of errors detected by the V606…

Examples of errors detected by the V606 diagnostic

V606. Ownerless token 'Foo'.


RunAsAdmin Explorer Shim

V606 Ownerless token 'false'. w3c.cpp 1806


bool AsyncW3Client::WaitCompleteRequest(unsigned long ntime)
{
  if (!_hCompleteRequestEvent ||
      _hCompleteRequestEvent==INVALID_HANDLE_VALUE)
    false;

  ....
}

Most likely this is what should be written here: "return false;".


Windows 8 Driver Samples

V606 Ownerless token 'false'. util.cpp 91


bool ParseNumber(....)
{
  ....
  if ((*Value < Bounds.first) ||
      (*Value > Bounds.second))
  {
    printf("Value %s is out of bounds\n", String.c_str());
    false;
  }
  ....
}

This is what should have been written here: "return false".

Similar errors can be found in some other places:

  • V606 Ownerless token 'false'. util.cpp 131

Oracle VM Virtual Box

V606 Ownerless token '0'. vboxmpvbva.cpp 997


VBOXCMDVBVA_HDR* VBoxCmdVbvaSubmitLock(....)
{
  if (VBoxVBVAExGetSize(&pVbva->Vbva) < cbCmd)
  {
    WARN(("...."));
    NULL;                                        // <=
  }

  if (!VBoxVBVAExBufferBeginUpdate(....)
  {
    WARN(("VBoxVBVAExBufferBeginUpdate failed!"));
    return NULL;
  }
  ....
}

Amazon Lumberyard

V606 Ownerless token 'nullptr'. dx12rootsignature.cpp 599


RootSignature* RootSignatureCache::AcquireRootSignature(....)
{
  ....
  RootSignature* result = new RootSignature(m_pDevice);
  if (!result->Init(params))
  {
    DX12_ERROR("Could not create root signature!");
    nullptr;
  }

  m_RootSignatureMap[hash] = result;
    return result;
  }
}

Similar errors can be found in some other places:

  • V606 Ownerless token 'nullptr'. dx12rootsignature.cpp 621

Amazon Lumberyard

V606 Ownerless token 'false'. fillspacetool.cpp 191


bool FillSpaceTool::FillHoleBasedOnSelectedElements()
{
  ....

  if (validEdgeList.size() == 2)
  {
    ....
  }

  if (validEdgeList.empty())
  {
      ....
      for (int i = 0, iVertexSize(....); i < iVertexSize; ++i)
      {
          validEdgeList.push_back(....);
      }
  }

  if (validEdgeList.empty())                  // <=
  {
      false;                                  // <= fail
  }

  std::vector<BrushEdge3D> linkedEdgeList;
  std::set<int> usedEdgeSet;

  linkedEdgeList.push_back(validEdgeList[0]); // <= fail
  ....
}

Azure Service Fabric

V606 Ownerless token 'false'. CryptoUtility.Linux.h 81


template <typename TK, typename TV>
static bool MapCompare(const std::map<TK, TV>& lhs,
                       const std::map<TK, TV>& rhs)
{
  if (lhs.size() != rhs.size()) { false; }

  return std::equal(lhs.begin(), lhs.end(), rhs.begin());
}