Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-8116

Fix a check with priority issues in wbemprox

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.3.17
    • Wine

    Description

      get_propval returns several codes from S_OK to WBEM_E_FAILED;
      The following line seems to not be doing what is expected:

      if ((hr = get_propval( view, co->index, property, pVal, pType, plFlavor ) != S_OK))

      Here it assigns to hr 0 or 1, instead the returned code due to priority (!= over =).

      Attachments

        Activity

          People

            ThFabba ThFabba
            vicmarcal vicmarcal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: