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

[PATCH] Fix a logic flaw in OpenPrinterW()

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 0.4.6
    • None
    • None
    • June 2017

    Description

      CID 1411933
      Since all the paths in the for-loop, after setting the error, are jumping to Cleanup, the if() check is never working as intended.
      Move the if check below the Cleanup tag so we can really compare if any of the executed paths is really returning an ERROR_INVALID_NAME.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: