To get a trial key
fill out the form below
Team License (a basic version)
Enterprise License (extended version)
* By clicking this button you agree to our Privacy Policy statement

Request our prices
New License
License Renewal
--Select currency--
USD
EUR
GBP
RUB
* By clicking this button you agree to our Privacy Policy statement

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

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

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

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());
}

This website uses cookies and other technology to provide you a more personalized experience. By continuing the view of our web-pages you accept the terms of using these files. If you don't want your personal data to be processed, please, leave this site.
Learn More →
Accept